Odd question

Is it safe to orgasam whilst pregnant?

I always cramp afterwards and it really worries me