Hello sir
Yes stomach can release acid before food enters into stomach.
This is called cephalic phase of gastric acid secretion.
It seems you are suffering from gastro esophageal reflex disease.
Next Steps
need to take antacid and prokinetic drugs for relief. ( pan d two times a day for 5 days )
Health Tips
if these symptoms are there for long time Kindly consult for detailed discussion.