Google the game and type FPS at the end. For example in CS:S it is net_graph 1 for FPS in console. Other games like GTR series it is Ctrl+F.
Fraps is a program that you launch before the game and it will be in the corner of the screen. You can do benchtests, record movies and take and save pictures.