You can use hearing aids if you have had surgery on your ears. If you've had a recent ear surgery, it is best to make sure your ears are fully healed. Please see your physician to confirm.
For most people, you will be able to wear a hearing aid in the operated ear just well as an ear that has not undergone surgery.