I just refinished my basement and I want to ensure that it doesn’t flood. Do you have any advice?

You can buy a sump pump that has a battery back up. There are also high-water alarms.