How to reduce mucus

Whenever I am ovulating, I always find mucus? On my underwear and it sometimes leaves a yellow colour. Is there any way to make it go away or less? I wear a panty liner but not always as i don't know when it will happen. Sometimes it stains my underwear slightly too.