Help!!!

.

so i went to my obgyn because i needed to get check out for BV. i had it the doctor said so i’m gonna be taking this stuff called Solosec and i put it in pudding and eat it. i’m just wondering. when is it safe to have sex after taking this medication? it said it stays in my body for 4 days so should i wait till after them 4 days?