Have you ever experienced bleeding in early pregnancy?

OK So I'm 4 weeks and 6 days pregnant (hopefully still) and I woke up this morning bleeding like Af bleeding. I have a doctors appt later I'm just wondering if any of you had this and baby was ok? I'm really scared. Prayers very much appreciated.