Dry sex

I've been worried about something even though it's probably nothing to worry about. Can someone help me out please? I hooked up with a guy last night and we sorta had sex but we were both wearing underwear. But then I got scared and said I wanted to stop. Is it possible it went through? Could I get pregnant?