The present disclosure relates to compositions and methods for inhibiting inflammation and reducing the risk of spreading sexually transmitted diseases using an alginic acid-based antimicrobial compound. Such compositions provide dual protection by (1) attacking and inactivating viruses and other microbes and (2) blocking the host response that viruses trigger to invade host cells. Such compositions can also be part of an acid buffering contraceptive.