What does this mean?

There is a thick gel like substance coming out of my vagina i guess its discharce but this is my fist time seeing this. Im supposed to get my period in a few days idk if that has sth do with it but has anyone had this happen to them/ know what this is and ehat it means?