Juniper berries on the penis were thought to be a preventative. It’s to be assumed that the berries were crushed and rubbed in rather than just balanced on the end.
Coincidentally, juniper also adds flavour to gin and cures dropsy in sheep.
Please note: this post is for amusement only and should not be construed as contraceptive advice. Please see a registered health professional for this