There is no cure for herpes. However, there are medicines that can prevent or shorten outbreaks. One of these anti-herpes medicines can be taken daily, and makes it less likely that you will pass the infection on to your sex partner(s).