BC & -sex-

This is a stupid question I know but I’m too embarrassed to ask the doctors. I’m not a little kid but I’m very uneducated in birth control and being in my 20’s I have just now started it for the forst time after havi my baby. I’m starting on the birth control pills and was wondering if during sexual intercourse, is your SO allowed to ejaculate inside while you’re on the pill and not get pregnant?