Tylenol and tums

Anyone know if it’s ok to take Tylenol and tums around the same time. I have a horrible sore throat and bad heart burn. Thanks!