I'm 22 weeks pregnant 2nd child, about to hit my climax I felt this weird pain and now im cramping slightly but still cramping. Why?

Call Your OB... Sexual activity while pregnant is fine; in and of itself, but when symptoms/"cramping" persist it is best to reach out to your ob/gyn for discussion and most likely an exam. Best to err on the side of caution in this instance.