Help please

M

I am on birth control. I took my pill an hour or late before I had sex. I got my last period jan 17 and had sex with my boyfriend a week before my next period. Am I ok? I dont want to get pregnant yet.