Birth control and pregnancy??

Can you get pregnant while on birth control?? I’ve had a really busy past few weeks and I have forgotten to take my pill a few days in a row and on those days I missed, my SO and I had unprotected sex. Is it possible that I could get or be pregnant?