Orgasm in early pregnancy

Is it ok to orgasm and have sec in early pregnancy? I’m 6 weeks along and super scared about everything

Edit: I haven’t had a chance to see my dr. I won’t have the appointment for two more weeks. So idk if she’ll say not to have sec or not.

I cramped when I tried on my own earlier and had to stop.