Main chain polyamines comprise amine and ammonium groups along the polymer backbone. Main chain polyamines can be used as pharmaceutical agents and in pharmaceutical compositions. The main chain polyamines are particularly useful in the treatment or prevention of mucositis and infection, specifically oral mucositis and surgical site infection.