Constant bad mood & taking it out on husband

I am physically miserable, barely sleeping, and having a hard time being kind to my husband. Anyone else in the same boat? Every day I tell myself I will be kinder but every day I am failing. He understands but omg I just want to be back to my old self a bit. 38 & 3, so getting close!