Shit got in my vag

Es

Yeh long story short, shit got inside my vagina. So will I 100% get a yeast infection? Anything I can do to prevent?