What is it?

This is gross but what’s the yellow smelly chunky stuff in my vag? And how do I prevent that shit from getting there??