for those who've had chlamydia....

When you found out, did the doctor give you a prescription or just one pill? I had it before and I took one pill, is it different for everyone?