tmi but pls help

i noticed when i put my finger up there that i had regular discharge but bright yellow pieces almost?? of also discharge but a different kind. just firmer little pieces mixed in. what could that mean? my pee also burns and sex hurts. is this an std or something else and if it is an std which one could it be