Using when, after, as soon as, before, or until to discuss the time is called a time clause. These clauses are used to discuss future tense.
You do not use will(future tense) or be going to(future tense) in a time clause.
After when, after, as soon as, before, or until you need a subject and a verb. (Look at example 1)
Time clauses using the "when" time clause can start at the beginning of the sentence such as
Example #1, or they can start in the middle of the sentence such as Example 6.
1. When Mike comes, please give him something to eat.
2. After we get to the park, I will give you some food.
3. As soon as we get there, we must get our tickets.
4. Before you go to the party, you must clean your room.
5. Until I see better grades, you cannot go to your friends house.
6. We'll go to the store when we get there.