The treatment for Mycoplasma pneumonia involves the use of antibiotics such as macrolides or tetracyclines.