Getting rid of cramps

Alyssa
Is it true that having sex can get rid of your cramps?