Antacids and antiallergic drugs do not interfere with the function of histamines as they work on different receptors. e.g. , allergy is caused by the secretion of histamine. It also causes acidity due to secretion of HCl in the stomach. Since antiallergic and antacid drugs act on different receptors, therefore, antihistamines prevent allergy and antacids cures acidity