When writing your essay, it is important to think about the structure so that it reads well, as well as making sure the language and grammar is accurate. Start your essay by introducing the topic and letting the reader know exactly what you will talk about (e.g. en este ensayo exploraré/hablaré sobre...). Your first paragraph should be an introduction to the subject in general (e.g. hoy en dia, __ tiene una gran influencia en la sociedad...) before moving on to more specific points (e.g. advantages/disadvantages). Make sure you also write a conclusion as many students forget this or think it is not important. The conclusion should sum up your main points and give an overall view of what you think on the subject.
In terms of the actual language, try to use a variety of tenses and vocabulary to show off what you know. It is very easy to get the subjunctive in there with sentences such as 'pienso que/me parece que/es importante que... etc' and these will really impress examiners if you can use them correctly. There are lots of useful essay phrases and connectives that you can pre-learn and include in your essay like primero/segundo, sin embargo, no obstante etc (I can provide a list and go through some) and idioms such as 'la otra cara de la moneda' that will make your essay stand out.