can you take Tylenol and Zofran together?

are these medications safe to take together? Zofran is helping the nausea but giving me a headache.