Answer:
When you go to the grocery store, don't forget to buy cheese.
Step-by-step explanation:
The second sentence doesn't even end with a period. The third sentence doesn't have a coma to separate the two clauses. You must use comma to separate dependent clauses from the start of the sentence. In this case, the dependent clause is "don't forget to buy cheese".