Setting the Frame Rate

How do you set or limit the overall frame rate (FPS)? I am looking to set it to 60 FPS for the my game.

Maybe you could use this?