Heartburn. Is it an early warning sign of cancers?

Is it true that the use of H2 blocker, proton pump inhibitors and other antacids can lead to the progression of recurring heartburn? The effect of reducing stomach acid can also make gastrin to be over expressed due to the reduction of stomach acid and make the pH of stomach up to neutral. The over growth of H. pylori without control can also lead to the associated risk of colorectal cancer. So, heartburn is not a simple problem and also can be a sign of the serious problem in our GI tract. The probable cancers may occur if heartburn is not treated properly such as esophageal cancer, stomach cancer and colorectal cancer as well. Is it useful for patients to take over-the-counter prescription drug like what I mentioned above.