If you're in good health, you should get at least 150 minutes of moderate cardio activity a week. It's better when you spread it out over 3 days or more, for a minimum of 10 minutes at a time. Also spend time at least twice a week specifically working the muscles in your legs, hips, back, abs, chest, shoulders, and arms.
Generally speaking, the more you exercise, the more benefit you get. And anything is better than nothing.