If you have a sinus infection I would recommend staying home from work as when you have a sinus infection you're not gonna be able to concentrate on your work anyway.
Your productivity will likely suffer when you have a sinus infection because when I tried to go to work for a few days with a sinus infection I was unable to really concentrate properly so I couldn't get the work done like I thought I could.
You will really feel bad when at work with a sinus infection so I would stay home if possible and get plenty of rest and treatment for the sinus infection.
Within 1 to 2 weeks you should be feeling better and can go back to work.
However if you're beginning to feel somewhat better after a few days or a week of staying home then you might be able to go back to work.
You can go to work with a sinus infection however I would not recommend it especially if you're feeling really bad.