Confused

I had implantation bleeding a week before my period was due and I was late 12 days and finally I got my period? how could I have implantation bleeding and then get my period? could I still be pregnant?