A composition or a contraceptive composition comprising a mucoadhesive polymer in a physiologically acceptable carrier, wherein the mucoadhesive polymer consists of 4 to 20 monomers units linked to each other via ether, ester or amide bonds, which monomer units are selected from the list consisting of amino functionalised C6 sugars, C6 sugars, amino functionalised C5 sugars, C5 sugars, amino acids, fatty acid derivatised C6 sugars and fatty acid derivatised C5 sugars and its uses thereof.