kidney stone & visible hematuria

I pee with blood since yesterday & today i went for an ultrasound of kidneys and bladder.

The doctor said i have a kidney stone 2mm.Does anyone of you ever had a kidney stone and blood urine, if yes how much does it lasted for you the blood in urine ?