Pregnant ?

so i had sex but i’m on the pill we used unprotected sex but he didn’t cum inside me can i still be pregnant. i’ve been getting lower back pains and sore stomach and head aches could it be the pill side affects?