Ben Affleck is coming clean.
The 44-year-old actor took to Facebook on Tuesday to reveal his struggles with alcohol addiction, and share that he has completed treatment in order "to be the best father I can be." Affleck shares three children -- Violet, 11, Seraphina, 8, and Sam, 5 -- with Jennifer Garner.
WATCH: Ben Affleck and Jennifer Garner Not Reconciling, 'No Change' in Their Relationship, Sources Say
"I have completed treatment for alcohol addiction; something I've dealt with in the past and will continue to confront. I want to live life to the fullest and be the best father I can be," he wrote. "I want my kids to know there is no shame in getting help when you need it, and to be a source of strength for anyone out there who needs help but is afraid to take the first step."
"I'm lucky to have the love of my family and friends, including my co-parent, Jen, who has supported me and cared for our kids as I've done the work I set out to do," he continued. "This was the first of many steps being taken towards a positive recovery."
WATCH: Ben Affleck Goes to Extraordinary Lengths to Play Batman for His 4-Year-Old Son Sam
A source tells ET that Affleck was sober at the Oscars in February and had a male sober companion go with him that night. "He has completed his treatment and is feeling good," our source adds.
In January, Affleck was photographed out with a different sober coach, Elizabeth Weaver, with whom he was working to make "sure he stays on the right path," our source said at the time.
"Ben has spent a good amount of time with her in recent weeks to kick his alcohol addiction," the source said. "Ben is taking getting sober very seriously and knows he has to do this for his kids. Ben would do anything for his children and is hoping this will make his relationship with Jen better."
As for his relationship with Garner, it remains the same since they two announced they were separating and divorcing in June 2015, a source tells ET. Neither one has filed for divorce just yet and just last week they were facing rumors of a reconciliation. "There is zero truth to those reports," a source close to the Oscar-winning actor said.
Reporting by Jennifer Peros.
WATCH: Ben Affleck Opens Up About His Past Mistakes, Says the Next 'Batman' Movie Is 'Not a Set Thing'