Just give it some really vigorous shakes - if the yeast aren't fermenting, there will be air in the headspace that the yeast can use. If they are fermenting, the headspace will be more or less purged already and shaking won't cause any problems.
What yeast did you pitch, and how much? Dried/liquid, if dry how many grams was the package?