you need to find a stretch of safe road without traffic, run the bike up to 15mph then brake sharply, then repeat.
I usually bed in the rear brakes first, then the front brakes.
The bedding process is very quick, you only have to repeat about 10 times on each.
After that, the brakes should work...