You can find steps to becoming an enrolled agent here on the IRS's website https://www.irs.gov/tax-professionals/enrolled-agents/become-an-enrolled-agent