Please follow https://www.irs.gov/uac/back-to-school-learn-about-tax-credits-for-education.