How can you stop the sperms from reaching the egg?

One method is by using a condom, but remember that the condom could tear.