Canesten pessary worked but then symptoms returned?

I had chunky green/yellow discharge for a while but had spoken to my midwife and as I wasn’t having any stinging or soreness etc she said they don’t do anything but I could try a canesten pessary which is safe while I’m pregnant. I got the duo pack and only used the pessary as I didnt have symptoms to need the cream and it cleared up within a few days but now maybe a month or so later it’s back again and this time it’s sore but only if I have sex/if something actually touches inside my vagina. The rest of the time there’s no pain or soreness at all just the discharge. I’ve ordered another pessary hoping that’ll clear it up and maybe first time didn’t quite get it all but has anyone had similar and have any advice on what to do to clear it up?! At my last midwife appointment she said there was a trace of something that I cannot remember the name but it would indicate a urine infection I think she said but as I said I had no stinging symptoms etc she wasn’t concerned about it too. Wondered if this could be linked…..either way I’m sick of it now and if it returns after this second pessary I’ll speak to my dr AGAIN and have to insist they do something!!!