If you have trouble opening the lid…
Ghee condenses slightly when it solidifies, and this can sometimes create a vacuum inside the jar that makes it difficult to open. If this has happened to your jar, simply place it under hot water for a few minutes. This will decrease the pressure inside, and it will open more easily.
Ghee partially melted or separated?
This can happen when ghee is shipped in very warm weather. To restore the ghee, first melt it completely by placing the jar under hot water for several minutes, or by removing the cap and placing the jar in the oven (on a tray) at a low temperature until the ghee melts completely. Close the lid and place in the refrigerator. This will re-set it to a solid state.
Ghee does not require refrigeration, but it is best to store it away from direct sunlight.