"Prophylactic" is a broad-enough word to encompass vaccines, as well, so I'm not sure what you're getting at. It just means something that defends against disease.
The distinction is that a vaccine will train your immune system to actively destroy the foreign body, while a prophylactics might just prevent it from spreading or taking hold to begin with.