Please help

Does this look like a beginning of a miscarriage? Having really really bad pains on my stomach after and now slimy brown bleeding !