birth control

So I went to the doctor they said my pregnancy test was negative even tho I had sex last week so I got the birth control shot ...praying to god everything aright cause I heard so much bad news about being pregnant and being on the shot but anyways I had back then when I was younger but I had a bad experience with it so I'm given it a try cause pills don't work in my favor and I know I can be straight