thrush and sex

Is it okay to have any type of sex when you have thrush?