Clindamycin is used to treat certain infections caused by bacteria. These infections include acne and bacterial vaginosis. Clindamycin belongs to a class of drugs called antibiotics. Clindamycin works by stopping bacteria from multiplying. This drug should only be used to treat bacterial infections. It shouldn’t be used for viruses, such as the common cold.