Is it safe?

Is it okay to have used a shower head in the shower to orgasm? I did it without even thinking if it was safe & now I’m cramping. But don’t know if it’s from that, or having the best orgasm I’ve had since being pregnant.

Almost 22 weeks.

Also, no rude or sarcasm answers please. Genuinely asking because I don’t know.