Technically, a song has automatic copyright protection the first time it appears in print or on record. Registering with the government adds a lot of weight to your claim if there is ever a dispute over authorship.