Uti gone?

I had a painful uti for almost3 weeks, woke up this morningand no longer hurts to pee does that mean the uti is gone? This test was 2 days ago. I never went to.the doctor trying to.flush it out by itself.