In a complex sentence we use the Present Simple Tense in the if- and when-clause if the Future Tense was used in the main clause.