Sex help

I know this might sound really stupid but can you get pregnant when you have sex or like you grind on each other with underwear on?