There is no specific herbal medicine to stop masturbation, as it's a more psychological issue that requires therapy treatment and counseling to understand the cause of excessive masturbation. However, some herbal remedies like Ashwagandha, Maca, and Gingko Biloba may help improve overall sexual health and may indirectly help reduce the frequency of masturbation.