As with most common nouns, capitalize “history” when it starts a sentence or when it is part of an official name (not just “the art history museum”). “History teaches us many things, and whoever does not learn from history is doomed to repeat it.” “I have to take a history class to graduate, so I chose History 101.”