hsv1 genital outbreak

So this is a recurrent outbreak (my second one ever) and I finished my 3 days of valacyclovir twice a day. today makes day 6 since the beginning of the outbreak. how do i know it’s over & when can i have sex? (my partner has it as well)