sick and 5 weeks

I have been diagnosed with sinus infection and given amoxicillin. I'm only 5 weeks. Is this ok to take? I'm worried!