Stomach acid/heart burn


I’ve been suffering from terrible heartburn and stomach acid all day, its making me so uncomfortable! I’ve tried gaviscon, rennie medicine form which haven’t helped. I’ve looked it up on the internet and tried natural yogurt and milk which has made me sick. I just don’t know what else to do/try! Does anyone have any suggestions? I had a scan on Thursday and was told I was gassy, is this related?