Ertapenem is a medication used to treat various bacterial infections. It belongs to the class of antibiotics known as carbapenems. Ertapenem works by inhibiting the growth of bacteria, thus helping the body’s immune system to fight off the infection. It is commonly prescribed to treat infections such as urinary tract infections, skin and soft tissue infections, intra-abdominal infections, and pneumonia. Ertapenem is usually administered intravenously (IV) or via intramuscular injection. Common side effects may include nausea, vomiting, diarrhea, headache, and injection site reactions. It’s important to use ertapenem as directed by a healthcare provider and to complete the full course of treatment, even if symptoms improve before the medication is finished. If you experience severe or persistent side effects, contact your doctor promptly.