If you own a game on disc and want a spare copy for safekeeping, the basic idea is straightforward, though it's worth remembering that backups are really only appropriate for titles you've legally purchased.
You'll need a computer with a CD or DVD burner. Start by copying all the files from the game disc onto your computer's hard drive, then use your burning software to write those files onto a blank disc. Choose a quality blank disc, burn at a moderate speed to avoid errors, and label the copy clearly.
Keep in mind that many modern games include copy protection, so a straight file copy won't always produce a working disc. When in doubt, check whether the publisher offers an official backup or re-download option instead.