Miscarriage tissue or clot?

moonlight

I took a pregnancy test about 4 days ago there were two lines one was dark other one was faint . Had some stomach pain last night woke up this morning and went to the bathroom.