Missed Birth Control Pill

I missed one of my birth control pills, and had unprotected sex. I didn’t realize until the next morning and I immediately took my “forgotten” pill and got back on schedule. Am I okay? (In other words: could I get pregnant?)