How do I avoid getting sleepy during meditation?

Excellent question! The best way to avoid this is to keep your spine upright. If you sit with a slouch, you may not be able to stay focused and alert. If your back is straight chances are you will not fall a sleep. Now if you are really tired and fall a sleep, it is OK just pick another time when you are fresh.