Weird

I was getting my period for the past 2 months thinking I'm not pregnant I started getting back pains & just feeling weird so I decided to take a pregnancy test & it came out positive has this happened to anyone ?!