Severe cramping few days before period

It doesn't happen every month, but sometimes after sex I get really bad cramping. I have vomited from the cramping before. It usually only lasts 5 minutes and only happens a few days before my period. I went to the doctor and was told it was normal premenstrual cramping. Has anyone else experienced this?