Weird cramps

After I have sex or masturbate I feel period cramps for maybe 5ish minutes afterwards and I don't feel like this has always happened so is something wrong or what?😅