Should I go back to the doctor?

I was diagnosed with an upper respiratory infection that I believe was bronchitis due to it getting worse at night and me coughing to the point where I was gagging. I stopped having coughing fits on Sunday but continued coughing. Yesterday I woke up coughing and my throat still felt weird. I went back to work today for the first time and started having another coughing fit, I’ve also been still coughing up mucus and my throat is currently feeling weird again( like kind of swollen). I didn’t cough as much yesterday but today I’ve had to keep cough drops in my mouth so I wouldn’t be coughing a lot and I had another coughing fit. I’ve been taking the medicine I was prescribed and today is the last day I’m supposed to take it. I haven’t shown much improvement though. Should I go back and see a doctor?