sex after miscarriage when pregnant again

Hannah • First pregnancy- miscarriage, 22.10.16💞👶🏼 Second pregnancy- baby girl, Maci 29.07.17🌼💫 Third pregnancy, baba bolton #2 due 24.12.18🌹✨
So I'm around 6+5 weeks to be confirmed at first scan in a few weeks, I was just wondering what you ladies think, at the end of October I suffered a miscarriage everything was fine and it was over with in just under 2 weeks, we began having sex again just like before, at the start of December found out we was pregnant again this came as a shock to us as we wasn't actively trying but wasn't using contraception. My question was is it still safe to have sex before the end of the first trimester when I have previously had a miscarriage we have been having it since we found out but I just thought about it this morning and now I'm worried