For biosex males, there’s really only condoms and vasectomies, where a surgeon shuts the vas deferens tubes that let sperm travel up and out from the testicles.
But the procedure is largely irreversible: it involves stopping the flow of sperm from the testes by cutting conduits known as the vas deferens and sealing them or tying them off.