Knowing when to use the present subjunctive instead of the present indicative can be tricky, but luckily there is a handy acronym to help you remember when you need it…
WEIRDOW: Wishes/Desirese.g. Espero que todo vaya bien (I hope everything goes well)E: Emotionse.g. Me alegra que ellos puedan venir a la fiesta (I’m glad that they can come to the party)I: Impersonal phrasese.g. Es importante que escuches bien en clase (It’s important to listen up in class)R: Recommendationse.g. Recomiendo que visites el el museo Prado en Madrid (I recommend that you visit the Prado museum in Madrid)D: Doubt/Deniale.g. No creo que ella venga al cine con nosotros hoy (I don’t think she will come to the cinema with us today)O: Ojalá (hope)e.g. ¡Ojalá no llueva!
As with every grammatical point, there are exceptions to the rule. However, if you stick to the WEIRDO acronym, you can’t go wrong!