If I go to the beach, then I have to pack sunblock (option D).
Step-by-step explanation:
A conditional statement is an if -then situation

The option with an if-then statement is: If I go to the beach, then I have to pack sunblock.
Hence, the conditional statement is If I go to the beach, then I have to pack sunblock (option D).