A little nervous

Robbie
So I'm 27 weeks and I went Into the doctors for my scheduled appointment and he did a Pap smear well When I wiped there was light blood and when I got home like an hour later I have a pain in my right side of my stomach and it hasn't gone away all day. It usually goes away within an hour. I can still feel her move but when I went the bathroom trees still very light blood when I wipe is all of this normal? I'm just really nervous my last pregnacy ended in a miscarriage at 12 weeks.