If you begin to feel tired while driving, the best thing to do is to:

Being fatigued while driving is similar in danger to driving under the influence of alcohol. If you begin to feel tired while driving, the best thing to do is to stop driving.
DMV Writen Test