lAs a rule of thumb: Use the
subjunctive only in dependent or subordinate clauses.
l(There are some exceptions in pseudo-independent clauses introduced by ojalá, quizá(s) and tal vez, exclamations,
as well in some commands. But for now you should assume that the subjunctive is used in subordinate clauses.)