of the component. First you need to find exactly where it's leaking from. Is the puddle between your front wheel and driver side door? (where the master cylinder is mounted to the firewall?) is there fluid on your calipers or wheels? Start with the any type of connector or fitting and try to localize the leak. Then have someone help you out by pumping the brakes (top off fluid) while you watch that general area and try to pinpoint the leak. Once you find it replace the hose/fitting/part that is leaking. Also examine all rubber parts for cracking and stiffness, and all metal hoses for kinks or rust. Replace as necessary.
Or take it to a reputable shop and ask them to diagnose/fix it.