Discharge leaked out after Bm HELP!

So I went to the bathroom to go number 2 n when I pushed I could see that a white liquid with pieces of discharge leaked out like if I squirted, sorry for the tmi but I think I have a yeast infection also but I'm really worried that it was my water ? I'm bearly 22 weeks tho , n rn I could feel the baby moving around a lot so idk if I should be worried or not