Dry up milk supply?

How long does it take for my milk to dry up? I’m in so much pain.