What Should I Do?

I have a beautiful five year old boy. However I lost custody of him because I was an addict. I was high off of Xanax and sometimes herione most of the time. I'm so happy to announce I've got my chip for being clean for 6 months! My ex husband however will not let me see my son unless I prove to him I'm gonna be putting him first from now own. I'm sober and I know I still have a lot of work to do, but his can I redeem myself? I'm open to all suggestions. I just miss him so much... I know my ex wants to protect him because in his eyes I'm still a dangerous druggie. I want to prove I've changed. How can I do that?

Edit: Thx for all the advice guys! He's been willing to work with me. He called 15 minutes ago saying I can come visit for a bit at noon! I'm so excited! Can't wait to tell you how it goes!