Me and my girlfriend are virgins and we tried to have unprotected sex but when I tried to go In my penis wouldn't so it just rubbed on the out side and my head went in a little bit but I didn't precum at all is there any chance she can get pregnant?
First of all why did you try to have unprotected sex if your then going to write on here concerned that she might be pregnant!
If you want to have sex and not get your gf pregnant then do the simple thing and use a condom.
It would be highly unlikely for her to get pregnant from that but it remember it only takes a small amount of precum with remaining sperm in for it to happen.