I find sex painful. Will I ever enjoy intercourse again?

Medication helped to clear it up but I still find sex painful. My partner is very understanding but I worry if I’ll ever enjoy sex again. We are both in our mid-30s.
Vaginal thrush is very common and most women experience at least one episode. It is a distressing condition.