Mastitis gone?

How do you know when its gone? Im wanting to dry up my supply but waiting for it to be gone