Ankle surgery

I have a ankle sprain in my right leg 6 momths ago. I still can feel pain in certain direction when I turned my ankle. I went to meet a orthopaedic specialist. He just compare my both leg ankles. He told me that my ligament might torn completely. He suggested me to have a surgery to repair it.I need your help to get some information about surgery. Is any side effect after the ankle surgery? Is this surgery has any high risk?Thank you in advance for your help