Worrying..

Just went to toilet and had lots of brown watery discharge and I’m 4/5 weeks pregnant. Has anyone experienced this? Was everything ok?

I’ve also been experiencing a lot of ‘stitch like’ like pains and pain by ribs.

Would really appreciate if anyone could let me know of their experience with this