Sucralfate is in a class of medications called protectants. It sticks to damaged ulcer tissue and protects against acid and…