Confused about my results

3 days before my period I took two pregnancy test 10 hours apart both come back faintly positive then took one on 2 days before period and come back negative!! Has this happened to anyone?