Chemical pregnancy

Kayce
Has anyone ever had a chemical pregnancy? In June and October I was late and I took a pregnancy test and it was positive. Then a couple days later i started my period. From what I've read it's a chemical pregnancy. Since this has happened twice is this a bad sign? My husband and I have been married for almost a year and we've been trying since June or July.