Yes, you can use antacids in dogs to treat stomach ulcers along with its related symptoms like nausea, vomiting. Esophagus reflux is also treated with antacid in dogs. Before use of these medicines, discuss with your vet because it can not be used under certain conditions and have some side effects.