Took a pregnancy test with faint line

Nya

My period time came and was only on my period for 2 days but spotting a week before my period.....Then my period came next month with this ....Is this a miscarriage ??