You MUST consult a repair manual or the gasket packaging. The manual will have diagrams showing the correct installation and often will have identifying marks on the gasket in the image. The packaging *may* also have an arrow or other marking to indicate the correct way up.
Installing the head gasket upside down can lead to catastrophic engine failure. Don't risk it – find the appropriate documentation.