Brakes

I have a 2004 Hyundai Accent. Whenever I put my foot on the brake to come to a slow stop. I hear a clicking sound coming from the rear of the car. Can anyone figure out why that is happening and what I could do about it? Thank you. Al Brown