Failed contraception

So I'm 17. me and my boyfriend have been together for 2 years and we've been using contraception (condoms) as well as I'm on the pill. I'm now about 5 weeks pregnant and we're both happy. I know it's really young but I already feel such a strong bond towards the baby. It was a big surprise at first but now I'm exiced. has anyone else's contraception failed?