During the installation of those new pads, the mechanic has done something wrong. The symptoms you are telling cannot be caused by disc pads, get the system check ASAP. It would be a good idea to check the brake fluid level before you use this car again