Sucralfate belongs to the class of medicines known as protectants. Sucralfate works by forming a coat or barrier over the ulcer. The barrier protects the ulcer from the acid of the stomach which allows it to heal.