unprotected sex ?!

Could you get pregnant by having anal? I had unprotected anal sex, nothing went inside my vagina, I just want to know if you could get pregnant like that