Chlamydia

So I recently got chlamydia and took the 2 pills of azithromycin on the 15th it’s now the 23rd , how long should I wait before I get retested ? And how long until I can have sex again? (Protected)