Leg cramps are common during pregnancy. They often happen at night. To help prevent leg cramps during pregnancy, stretch your calf muscles before bed. If a leg cramp strikes, stretch the calf muscle on the affected side. A hot shower, warm bath or ice massage also may help.