Plz help, I hope I can’t be pregnant

Well I had unprotected sex but only for a short while and he did not finish in me, but I’m really worried and scared of being pregnant