Question

39 weeks + 2 days. Went and peed this morning and wiped after had some discharge like snot brownish slightly pink??? And had some like little flakes of brownish in toilet after peed what does this mean? And sorry for too much info🙈