confused

When do you ovulate? I had sex the day after my period ended and he pulled out and I'm on birth control so am I ok?