Panicking. I wiped and had this jelly like discharge.

I have this discharge just now when I wiped. I'm supposed to be 6 weeks and all I can think of is a miscarriage since it looks like a little brown to me. Please help!