It relieves pain by raising your pain threshold, which makes it harder for you to feel pain. Tylenol is safe for everyone from infants to older adults, but only as long as you take the dosage ...
Taking Tylenol (acetaminophen) together with anti-inflammatory drugs like Aleve (naproxen) or Advil (ibuprofen) is generally considered safe, as long as you don't exceed recommended dosages.