Cellulitis is a skin infection. It happens when bacteria get into the deepest layer of your skin through a cut or scrape. It can make the skin and surrounding tissues hurt, swell, and turn red. The good news is that an antibiotic can treat cellulitis.