Learn conditional statements and loops in Apex
Make decisions in your code with if statements, else and else if chains, and nested conditionals