you need to bleed the brakes before you do anyting else
pump on for the rears
pump off for the front
there have been plenty of write ups on how to do this the correct way, just don't use one of those ezbleed setups as trying to get an airlock out of the abs block is nearly as easy as trying to figure out what a woman means when she says "go on, do what you want to this weekend"