there's a special tool that can be used, it screws a metal plate rounded and tight enough to get under the bearing and you use a press to push the pinion out... hammer and some even surfaces may work also, but i like to do things right, you can go to a shop if necessary, they can't charge much...