These should not taken for long without your doctor consult.
These medicines are for relief of symptoms.
These medicines don't cure hiatus hernia
Next Steps
to take relief from symptoms you can take these medicines on and off according to your symptoms only.
Health Tips
if symptoms of are severe and not revealing by medication
then you should consult your doctor
definitive management.