Fly, I also have a Hiatus Hernia and it took a long time to settle as I had to try several types of medication before I found one that suited me.
Whatever they prescribe will have ...."prazole" or something similar on the end. If one doesn't work, go back and ask to try another. My husband was prescribed Omeprazole and that didn't work for him. In sheer desperation I gave him one of my Rabeprazole and amazingly it worked. The doctor said there was nothing different about them just the names, but in my experience that's a load of tosh!
I hope you go on OK.