Orgasm help?

So I have only ever masturbated before, which has been great, but I am a little worried about orgasming during actual sex. See every time I orgasm when I masturbate my whole body gets tense and I can barley move. When I masturbate it is fine because I am just lying down, but I don't know if I will be able to do other positions during sex with the way my legs and body tense. Does this make sense? Any tips on how to loosen up?