Could I be pregnant?

Is it possible that I could be pregnant if I haven’t taken my birth control in a while and had sex on my period and then taken my birth control the next day? I been having cramps and throwing up