Aluminum complexes are used to treat ulcers. These medications work by forming a protective barrier over ulcers. This protective barrier helps shield ulcers from stomach acid and promote healing. Aluminum complexes are available in different forms, including oral tablets and suspensions. Examples include sucralfate (Carafate). You can choose the form that best fits your needs.