Tinged yellow discharge yesterday and now today cramps and diarrhea


Hi guys yesterday I had a bit of white yellow tinged discharge it had no smell to it to it isnt an infection, today I've woken up with cramping which is bearable then at times it makes me sit and diarrhea, what could this all mean thank you