I vacuum my carpets twice per week which is usually enough for my house since I never wear shoes in the house so I don't track my dirt onto my carpets.
If you track more dirt on your carpets you might need to vacuum more often as in every other day but if your carpet doesn't get too dirty then once or twice per week is usually enough.
I sweep the floors and mop them every other day as well to keep them clean.