Has anyone else experienced this?

Yesterday I had some spotting after going to the bathroom. I immediately called my doctor who told me to go get an ultrasound done. The spotting maybe lasted an hour but very light after the initial spot. I had an ultrasound (I’m 6 weeks). I saw my baby and heard the heartbeat (120 bpm). They said everything looks great and sometimes this just happens. They put me on pelvic rest. Has anyone had this and had a successful pregnancy or the opposite?

This is my first pregnancy so I’m panicking!! Thank you!!!