Question for others who had a still born

How long after having your baby did all your milk dry up? They told me in the hospital when I delivered my son at 17 weeks back in March I wouldn't start producing milk. Well they were wrong and it came full force. Took 2 weeks to stop leaking but the other day I started leaking again. Any advice? They started hurting super bad again like I was producing again..