Quick Question

Okay, so recently I had unprotected sex but I've only been on the pill, but not a long time though, is there a possibility that I could get pregnant?