how long does implantation bleeding last

So confused, started cramping this morning and a small amount of blood so thought af had arrived. 10dpo 4 days before expected af. The spotting has been on and off all day. Is this implantation bleeding or early af?