If your partner has thrush, you should avoid sex until they have finished treatment the infection has cleared up.
According to Chipeta, it is possible for thrush to be passed on through sexual intercourse. However, this is uncommon. "The NHS suggests that you avoid having penetrative and oral sex until you’ve completed a course of treatment and the infection has completely cleared up." ...