Sinus perforation after tooth extraction

I had an infected tooth removed 3 weeks ago and it left me with a perforated sinus. I just wondered if anyone knew how long they take to heal? The extraction site is slowly closing but I’m still getting nose pain and headaches and a funny taste