The first thing you should do is get familiar with parts prices for your car, so you know when the mechanic is overcharging.
Secondly, I find a place to buy parts myself, rather than letting the mechanic buy it.
Then his charges are all labor and I knew if Im getting screwed