The question needs a little more detail — "play" could mean buy it, run it, or get through a specific section. In general terms, Half-Life 2 is a Steam title, so the standard route is straightforward.
If the game will not run, the usual causes are outdated graphics drivers or a missing DirectX component, both fixable through Steam's own verification and driver updates. If you are stuck on a particular puzzle or level, say which one — the physics sections in particular have specific solutions that are hard to guess at.