Cumming inside?

Is there such thing as NOT getting pregnant even though he cums inside? Also, when you use NO protection? I know this might sound stupid!