Pregnant and bleeding

I got a blood test done that showed I was pregnant, now two days later I’m bleeding... what is happening?