wait until you are fit and well before driving
All your concentration should be on your driving. Any pain you feel will distract you and you should avoid driving when drowsy. The safest course of action is to wait until you have rested and feel better.
B drive home, but take a tablet for headaches
C drive home if you can stay awake for the journey
D wait for a short time, then drive home slowly