Most of the antibiotics target the bacterial cell wall. Mycoplasma does not have a cell wall. Thus, they are inherently resistant to antibiotics like penicillin. However, other broad-spectrum antibiotics, such as erythromycin and azithromycin can act on them.