Clarithromycin is a kind of antibiotic that is used to treat lung infections such as pneumonia, ear infections, and skin problems such as cellulitis. Helicobacter pylori, a bacteria that can cause stomach ulcers, is also used to get rid of them.