Yeast infection

How can i treat a yeast infection ?? Been having it for a while no but no itching or burning just hurts during intercourse and yellowish mucus, what can it be ?