Did I make mistake, vaginal discharge with cramps?

Aroosa

It's my 16th week with 1st baby. At beginning of my pregnancy, everybody told me not to bend,sit down with jerk or walk promptly. Whenever I did, I had cramps like thing and when I rested I was ok. Vaginal discharge was intermittent. Now, 4 days back I sat on my room carpet with no support and stood up and when I slept, woke up at midnight due to gush of fluid trickling out of my vagina and had cramps. I thought, by resting it will be ok but since that I had discharge with severe cramps like pain that's intermittent and feeling stress on my uterus with back pain although I'm resting and by all day I have light cramps. My concern is even I'm resting why am I not getting rid of that stress and cramps whilst before that sitting mistake I was fine. Is it normal? Thanks