Tylenol?

Can I take Tylenol extra strength while pregnant, the blue white and red capsules to be exact my pains are killing me and I just wanna know if they are safe