Keep getting thrush

Got put on a new pill marvellon I've been taking it for just over a month and I've had 2 bouts of thrush. Should I change it??