Bleeding

Has anyone ever bleed while pregnant? Still heard the heartbeat? What was the reason for your bleeding?