When I wake up I feel stomach aches, super hot, muscle soreness, headaches/migraines, constant hacking and sweating.

I’m a 25 year old male who is an ex smoker and is slightly overweight. It’s a 50/50 shot if i feel well in the morning. When i feel awful it’s stomach aches, super hot, muscle soreness, headaches/migraines, constant hacking and sweating. Just trying to figure out why i feel like death so often when i get up.