The general rule for using periods in abbreviations is to use them when the abbreviation is made up of the first letter of each word in the phrase. For example, U.S. stands for United States and e.g. stands for for example.