Studying and Napping

How do you deal with wanting to take a nap and to keep going after a long day? I am sitting at the public library, maybe 2 hours in to my study session watching CPAexcel lecture video and I fall asleep for 20 minutes..... How can I keep myself from falling asleep? I got plenty of rest, caffeine, etc....