Write what you care about. Sometimes, if you are writing for a class that you don't enjoy, this can be difficult. Try to find something interesting or relatable about the topic-- for example, if you have to write an essay on the history of ancient Rome, try to find personal stories within the time period that help to make the paper more interesting. If you find something you can relate to, the paper will be much easier to write.