I am wondering if I was eligible for the American Opportunity Tax Credit in 2018?

I got a letter from the IRS stating that I owe money back because I wasn't apparently eligible for this and I just want to make sure that it's true.