It depends on the game. Some titles ship with an auto-updater that detects the installed version, downloads the latest official patch and applies it without you doing anything.
Others expect you to fetch the patch yourself from the developer's site or a mirror, then run the installer over the top of the game folder. Read the patch notes before you do — some patches only apply to a specific base version, and running the wrong one can leave you worse off.
Version mismatches also matter for multiplayer, since most games can't connect players running different builds. If you can't join a server, check that everyone is on the same patch first.