To help your guitar sounds its best you should change your strings once every month or two.  Strings generally last several weeks before going dead.  If you notice they are looking discolored or they sound flat then you know it’s time to change them.

You can improve the life of your strings by wiping them off with a clean cloth when you are done playing.