I have a question ???

How long does implantation cramps last ? How soon after implantation can I take a pregnancy test?