To begin with, you can vary your vocabulary and your sentence/paragraph structure. However in the end what makes a piece of writing interesting varies depending on its purpose. So you need to become familiar with different writing purposes and the techniques and devices that we use for each of these.