A former professional footballer has spoken publicly about his struggles with addiction and his journey to recovery.