My tips:
1) make sure you are getting enough water during the day, dehydration is a b-. (You should be drinking your body weight / 2 in oz + one glass for each caffeinated beverage). Ex. You weight 160 and drink 2 coffees. You should be getting at least 96oz (12 8oz glasses).
2) No eating before bed, in order for your body to rest properly try to avoid eating 2-3 hours before bed (due to digestion time ect).
3) Get at least 7 hours of sleep and keep a sleep journal.
4) Eat less processed food.
From personal experience I feel achy in the morning when I'm dehydrated so I'd look at that first