This grammar means 'if' or 'when'. You use it to talk about things that might happen. You can also use it for a series of actions or to make suggestions.
?
How about thinking about it one more time?
に、。
If/When I go to Japan, I want to eat sushi.
、に。
If you don't wake up early, you'll be late for school.
、。
When I opened the window, a cat came in.
、。
If it rains, the match will be cancelled.