Chances of you getting pregnant is low since you said it didn't actually got in. Just have yourself tested in a month or if your menstruation is delayed. Don't worry too much. Next time you guys have anal or any sex at all, make sure to use condom or any contraceptives.
If in case you are pregnant, just continue with the pregnancy, it might be unexpected and unplanned but it should never be unwanted. It's a blessing..
Thank you so much 😵