It may be wise to visit a doctor if your cramping is significant. If you experience regular cramping that’s keeping you up at night and you’re having trouble getting restful sleep, visiting your GP may be a good idea.