I am 36 weeks, for the last few weeks the muscles in my lower legs feel very tight and uncomfortable and for the last 3 nights I have been waking up with painful leg cramps. I have been up since 7am today and I still feel sore in my legs and feel like my muscles are really tight.

What can I do to prevent them?