Meningitis is when the protective membranes around the brain and spinal cord begin to swell. It's usually caused by a bacterial or viral infection, though can also be a result of an injury or certain drugs. Meningitis treatment depends on the cause of the swelling and can vary based on the diagnosis.