Help please

So I missed my period, but I got it last month and I can’t remember when I was last sexually active but I shouldn’t be pregnant because it was before I got my period ( April ) any reasons?