If feeling tired and frequently yawning, you should:

Frequent yawning is a warning sign of fatigue. If you become tired while driving, the only safe response is to stop and get some sleep. You cannot rely on artificial stimulants, like caffeine, to keep you alert because they will eventually wear off and leave you more tired than you originally were.
DMV Writen Test