Pregnancy question


When i very first took a pregnancy test it was a faint line 2 days later i started bleeding so i thought i was having a miscarriage so i never went back to the docter but i felt like i was pregnant due to my sleeping and throwing up yellow stuff so i just let it go later on like 3 weeks later my breast started hurting bad i went to the docter and the docter said i was pregnant is it the same pregnancy is it possible i was bleeding while o was pregnant??? Have this ever happened to you? Please help