These two things might not be connected but I have definitely messed up my sleep cycle (my awake phase will be all night and into the next day) and I woke up in pain.
To deal with this I have had a cup of tea, a bite to eat, and a browse of social media. None of which directly helps any of that but it was nice and got me through a few hours.

