What specifically did AOL tell you?
Your AOL email account was hacked?
This does not mean for sure that your computer was hacked, as somebody could have guessed or obtained your password.
Do you use webmail or an email application to get your email?
Did AOL by any chance send you an email with a link in the email to change your password? (if that is the case that email did not come from AOL)