Yes, you should capitalize the important words in the title of an article mentioned in an essay, following the same capitalization rules as you would for a title in a bibliography or works cited page. This is generally the same as title case. For example:
Instead of: "I read an article called 'the effects of caffeine on sleep'."
Write: "I read an article called 'The Effects of Caffeine on Sleep'."