Lot of discharge with vaginal cramping

36w1d with alot of discharge with cramping? What could it be?