Ampicillin capsules are indicated for the treatment of various bacterial infections; contraindicated in patients with a history of hypersensitivity to penicillins; potential side effects include gastrointestinal disturbances, allergic reactions, and rash; and drug interactions may occur with allopurinol, anticoagulants, and certain other antibiotics, which may enhance the risk of adverse effects or reduce efficacy.