Sex ?

If you’re on medication for thrush can you still have sex if it’s not

Painful or will it not clear if I do?