Do not use Tagamet if you are allergic to cimetidine or other acid reducers. Consult a doctor before using it if you have stomach pain, nausea, vomiting, trouble swallowing, frequent chest pain, heartburn with wheezing, unexplained weight loss, heartburn lasting longer than three months, liver or kidney disease, or if you are pregnant or breastfeeding.