If you’re feeling tired before a drive, you should:

Stimulant drugs, including caffeine, are not helpful as a way of avoiding fatigue. They may help keep you awake, but will not make you any more alert. Feeling tired is a sign that your body needs sleep, and the only way to properly address it is to stop driving and get some sleep.
DMV Writen Test