Paladins get Summon Warhorse for free at level 40 from The Tome of Nobility with Duthorian Rall in Stormwind. Here is the quest, where to find him and what it means for riding skill.
Paladins in World of Warcraft: Forever get their first mount for free at level 40. Talk to Duthorian Rall in the Stormwind Cathedral and complete "The Tome of Nobility", which teaches you Summon Warhorse on the spot.

The quest has only one step and no gold fee. The Warhorse is a normal ground mount with 60% movement speed, just like the mounts other classes buy at level 40.
Note: Undead Paladins on the Horde side have their own Summon Warhorse with an undead horse and a separate quest. It is covered further down in this guide.
Travel to the Cathedral of Light in Stormwind and find Duthorian Rall at /way 50.6, 47.4. Accept "The Tome of Nobility" as soon as you are level 40.

Duthorian promises you a great gift and tells you to speak to him again. He also hints that the next mount will be a much greater challenge, which is the Charger quest chain at level 60.

If you are in Ironforge, Tiza Battleforge at /way 27.4, 12.0 and Brandur Ironhammer at /way 23.4, 6.2 give a version of "The Tome of Nobility" that only sends you to Duthorian Rall. Turn it in with him, then pick up the real quest.

Both of them stand in the Mystic Ward, where the Paladin trainers of Ironforge are:

Speak to Duthorian Rall again to complete the quest. You learn Summon Warhorse right away, so open your spellbook (P) and drag it onto your action bar.

Undead Paladins learn their own Summon Warhorse at level 40 from Danitha Morr at Bandarion Keep, in western Tirisfal Glades. Their horse is a dark undead steed in black and gold barding:


Like the Alliance version, the quest is free. One player reports that Undead Paladins do not run into the Apprentice Riding problem described below, but check your spellbook after the quest either way.

Danitha Morr also gives the other Undead Paladin class quests, including the level 20 weapon chain in How To Get Wolfsbane As Undead Paladin.
You do not need any riding skill to use the Warhorse itself. It is a class spell, so it works as soon as you learn it.
Other mounts are a different story. After the quest, your Skills tab shows Riding 75/75, but many Alliance Paladins report that Apprentice Riding is still not marked as learned. The riding trainer keeps offering it, and the "Learning to Ride" quest cannot be turned in.
Blizzard has added the riding skill to the Warlock level 40 mount quest and to the Paladin level 60 Charger chain, but not yet to The Tome of Nobility. Until that changes, only buy Apprentice Riding at level 40 if you want to ride other mounts, such as store mounts or another race's mounts. For the Warhorse alone, save your gold.
Note: Check your spellbook after the quest. If Apprentice Riding shows up there, the fix has arrived and you can skip the trainer.
At level 60, Duthorian Rall points you to Lord Grayson Shadowbreaker, who starts the quest chain for Summon Charger, the 100% speed epic Paladin mount. It is one of the longest class quest chains in the game and ends in Scholomance, but it also teaches Journeyman Riding. Every step is in How To Get The Charger Mount As Paladin.
For more Paladin class quests, see How To Get The Pauldrons Of Vindication As Paladin and How To Get Redemption As A Paladin.