Ovarian cyst bleeding 5 weeks pregnant

Cassie
I'm a little over 5 weeks pregnant and had a scare yesterday, bleeding and cramping, so I went to the ER. the ran tests and checked the baby, though the baby looks OK right now, the found a cyst on my left ovary that's bleeding and could be causing the pain and bleeding that I thought was a possible miscarriage. Has anyone had this issue and we're your babies ok?