I was prescribed with doxycyline and as I was on my third day of treatment I had unprotected sex. Will I be able to continue taking the rest of the treatment or will it not work?