Dark brow spotting 12 days

Mila

Im having brown spotting for 12 days counting today. Took a pregnancy tests it was positive but I had cramps for three days. Could it be miscarriage.