Mental illnesses are medical conditions that can dramatically impact a person's thoughts  feelings  judgment and ability to function These conditions can affect people of any age  but often first appear between the ages of 18 and 24