If, then” statements require commas to separate the two clauses that result.

If I use correct punctuation, then I will include commas where necessary.

If Hillary Clinton wins the election in 2008, then she will become the first female president.

Even when the statement drops the word then, a comma must be used.

If Santa Clause was real, he would bring me a new bike.

If I had the money, I would go to Krakow for vacation.