Worried, please help !!!!!!

I am 5 weeks 2 days i started to bleed today in the morning (when i wipe only)

Now in the evening it has become brown (when i wipe only). I got my ultrasound done and i have a small sac, and my doc gave me primulot injection.

My doc told me it is because we were having sex. So she said no sex until 12 weeks. She called me back after a week for ultrasound to see the growth.

But i am so worried please share your experiences.

Is it ok or should i be worried?