Drink plenty of water.
Staying hydrated has a number of benefits beyond yoga but being adequately hydrated is especially important for hot yoga classes.
Do not eat for at least three hours prior to class.
Even a beginning student will bend and move around in ways that will be uncomfortable on a full stomach.