When the opening ends, it's time for a plan. A plan comes from the features of the position: the pawn structure, open files, weak squares and king safety. Assess the position first, then pick a target.
In this Carlsbad structure, White's classical plan is the minority attack: attacking Black's three queenside pawns with two pawns (a and b) to create a weakness on c6. As preparation, bring the rook to the b-file.
When making a plan, ask three questions: where is my opponent's weakness? On which wing do I have more space? Which is my worst piece? Very often the best plan is to improve your worst piece.
In the Spanish, White's knight on d2 blocks the bishop and queen. The classic manoeuvre: the knight goes via f1 to g3, eyeing the kingside.