Do you have leg cramps keeping you awake at night? This is common, and there are a few things you can do to prevent them. Take breaks throughout your day to rest, and get off of your feet. Continue to drink lots of water (in case your muscles are just dehydrated), and eat a banana – your calcium and potassium levels might be low.