Bleeding while pregnant

lyric ✨
I'm 5 weeks pregnant & last night while having sex my boyfriend noticed I was bleeding. I went to the bathroom and cleaned myself up and put a pad on overnight to see if it was heavy.. But nothing got on the pad and I'm not bleeding at all. It stopped last night. Could it have been a miscarriage or is that normal? I had no cramping whatsoever