
Sperm can live for an hour outside of the body. A rule of thumb, avoid any contact with semen and other bodily fluids while they are wet and this is because the sperm might be still active. And next time, make sure to wash your hands before and after masturbation to prevent bacteria infections.