Are condoms good enough protection

I just had sex firsy time ever and am not on any birth control and all we used was a condom no breaks or tears in it and he didn't even cum in me either so . But am I alright will the condom save me from getting pregnant