Hey! Like Sister7277 said, condoms and no sex during outbreaks is the way to go.
The best practice is to use condoms 100% of the time, and put one on before any skin-to-skin contact occurs. Avoid sex during an outbreak, or any time you think you feel one coming on.
I’d read that taking a daily antiviral, like acyclovir, can reduce the risk of transmission to something like 4% when you also use condoms, etc. I took acyclovir for about a year, but am no longer sexually active and so I came off it. But it made me feel a lot safer and more confident when I was in a relationship, since I didn’t have outbreaks while taking it, so I didn’t have to worry about one popping up. We still used condoms, but the peace of mind helped.