THanks for writing to Health Care Magic
It is important to consult a doctor when u have discharge while in pregnancy
. U also had a severe pain
whole night. It is better to consult a gyne and get all the tests done. These should include tests assessing fetal condition. Donot neglect.
Hope this helps u
Thanks and regards