Have you checked the fluid level?
If you have, then try bleeding the breaks. this involves opening the valve on the break caliper and squeezing the break lever and holding it. The close the valve and release the lever. Repeat this a few times and you should notice a difference. It is caused by air in the pipes.