Tylenol with Codein

So I have a really bad sinus infection and my obgyn gave me antibiotics and tylenol with codein. I'm scared to take the tylenol because my pharmacist told me it could hurt the baby, I'm 15 weeks. I'm in so much pain that I'm tempted to take it but I'm scared. What are you ladies opinions on this?