Depending upon the height of your radar antenna, the maximum distance to the horizon that will be visible may be only a few miles. My maximum is about 4.5nm. The actual maximum range that is useful will depend upon the height of your antenna and the height of the object that you are trying to see. Just because you have a 24 mile range on your radar doesn't mean that you can see an object (boat, buoy, low land) at 24 miles. You can read up on effective radar range and put in your own antenna height to see your maximum range.
To answer your original question, I can only tell you what I use. When I am in a bay or close to shore I use a range of 3/4 mile. This will allow me to see buoys and other nearby boats. If I am on the coast where buoys and boats are further apart, I use 1.5 or 3 miles for the range. If I am trying to see a thunderstorm cloud and determine where a storm is located, I use my maximum 48 mile range. Note that for a long range like 24 or 48 miles, you will be looking at high objects like thunderhead clouds. You will not see objects at sea level at those ranges.
When I am anchoring, I use the shortest range of 1/8 mile to see other boats around me and help me choose an anchoring spot that is sufficiently distant from other anchored boats.