The original answer was blunt — "you do good" — and honestly, that is the core of it. Your zoo rating in Zoo Tycoon is a composite score, so five stars means nothing is being neglected.
In practice that means keeping animals housed in habitats suited to their needs, with enough space, the right terrain and enrichment. It means hiring and paying staff so enclosures stay clean and animals stay fed and healthy. It means paths that visitors can navigate, enough amenities to keep them happy, and breeding programmes that do not overcrowd you.
Fix the lowest-rated part of the zoo first, whatever it is that week, and the stars follow.