Drs note to get out of work?

Curious if anyone has had any luck getting their doctor to write them a note to get off work early. I am SEVERLY exhausted all the time, to the point I am scared to drive. I'm 36 w 1 d and I can take off work early but only with a note. Anyone do this?