Do the brake lights work at all? If it's only happening with the front or the rear it could be a bad swtich in the lever. If none of the brake lights are working, its probably a loose wire. Check all of youyr connections. Or since it's an 04, is it still under warranty? If so, take it in and let someone else fix it. I could help more if I knew more specific details about your problem.