IB (Implantation bleeding)

Was just wondering if you have IB can you test before and get positive test or do you have to wait until it is over with?