I would start by bleeding your brake system to remove any air that possibly got in your system. The brake light usually indicates a Hydraliuc issue. You may have to clear your ABS computer as well.
RepairPal Certified shops can diagnose and repair your 2003 Mazda 6. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.
Check your brake fluid level. It may be low and setting off the "service brakes" light on your dash. Add fluid to the master cylinder reservoir as needed.