Here you can find a very useful web page about time clauses and if clauses.
Now, you should do some exercises, shouldn't you? No need to worry! Here you can find lots of online exercises to improve your knowledge of conditional sentences!
You can also download these worksheets, just in case you want to do some extra exercises!