Thrush

Iv had thrush throughout my whole pregnancy, I’m now 38 weeks and scared that it may harm the baby😫 Iv tried a pessary and a tablet and it went away for a couple of days but always came back. Has this happened to anyone else? Is it wise to take more than two treatments, while pregnant?