its very important to take care of your brakes, its one of the most crucial part of the car that should not be ignored. what has happened in your case is that bleeding the brakes is required. there is some trapped air that has to be released.
get them bleed at any good mechanic its very easy and will be done in no time.