The Ruy Lopez starts 1.e4 e5 2.Nf3 Nc6 3.Bb5 and is played by White. Pressure the knight that guards e5, then build a big centre with c3 and d4.
Bb5 attacks the knight that defends e5. It's indirect pressure: the threat to e5 is real once White's own e4 is safe.
The main line: keep the bishop with Ba4, castle first, and only then deal with e5.
Re1 guards e4, so taking on e5 becomes a threat. c3 and d4 follow to build the classic Spanish centre.
After the opening: Play c3 and d4 for a big centre, keep the bishop on the long diagonal (a4 or b3), and use your extra space. Black's counterplay comes with …b5 and …d5.
Learn it on the board with the free Opening Trainer: the idea move by move, a quiz on the main line, and the replies players at your level really make, with how to answer each. Then practise it against a bot at three levels. No account needed.