Plan B and Valtrex

I took a plan b and I take valtrex for cold sores. Will me taking the valtrex interfere with the plan B? I know it’s a form of birth control taken once but I do hear that taking some medication will also disrupt the other.. am I safe?