Chlamydia

My boyfriend and I got treated Wednesday for chlamydia around the same time and we stupidly had unprotected sex today. I was told that there is a possibility that we won't be reinfected because we both took the medication the same day. Is this true or should we go back and take the treatment over again?!