When to go to doctor?

Maddie

My son has had a cold for about 2 1/2 weeks now and it’s not getting better. He’s super congested and has a cough. He had an appointment last week and the doctor said it was just a cold but I feel like a cold would be better by now. It’s so bad it keeps him up most of the night. At what point do I take him back to the doctor?