You can send him a written demand for a refund and if he doesn't reply you can forward your request to the state bar. I'm not sure about PA but in CA the bar has a fee dispute program to assist in cases such as this where the client does not feel like they got their money's worth.
You should start with a written demand letter to the attorney asking for an accounting of all work performed, including work that was done incorrectly.
In Pennsylvania, each county bar assoication has a fee dispute procedure. The link below will point you to the Allegheny County Bar Association fee dispute information.
Licensed in MD, PA and DC. This is not legal advice. I am not your attorney. You should consult with an attorney licensed to practice in your jurisdiction regarding your specific circumstances.