Feed when the fish sinks (there is a 1 in 3 chance of fish becoming full), filter the water when the water turns grey, go to vet when fish is green, add water when the top bit turns white. The first event will occur in 10-30 seconds so be patient. Max hp is 30. Every 5 seconds unless the fish is hungry or at full hp the hp will go up by 1 so it is possible for your fish to live forever.
This is for a game contest vs hcjt123 where it must be a sim involving water. This involves water by there being a tank, an option to filter the water, etc.