Your doctor probably was right about irritation from condom lubricant. No STD starts causing symptoms within 24 hours of exposure. Had I been your doctor, I would not have prescribed the doxycycline--but now that you have started it, you should finish the prescription. You are not contagious for a sex partner.
Good luck-- HHH, MD