Antacids provide the fastest, short-term relief from heartburn. Histamine (H2) blockers and PPIs don’t work as quickly as antacids, but their effects can last longer.