Can’t keep for 2 days and I’m so exhausted, now

Patient: Can’t keep for 2 days and I’m so exhausted, now I have a head ache in the back of my head,Is it safe to now take a sleeping pill, it’s 6:00 am right now

Doctor: