Prevention is always better than the cure, which is why making sure your body has enough vitamin D is important in preventing menstrual cramps.