Can I be pregnant

I've been on the pill since December 2015, and I had unprotected sex but he didn't finish. Could I get pregnant from that?