Look at the verb in the first clause to determine whether to use the present or imperfect subjunctive in the second clause.