Try deleting the app, then re-downloading the macOS Catalina installer from the App Store.
If this doesn't work, you can install the latest version of macOS using macOS Recovery without losing any data. To do this, shut down your Mac using the Apple menu in the top left corner. When turning your Mac back on, hold Option + Command + R. It is highly recommended that you use the keyboard that came with your iMac or a Wired USB keyboard to do this. Then install macOS Catalina using Internet Recovery. If you don't erase your disk (which you probably shouldn't), all of your files will still be intact. How to reinstall macOS from macOS Recovery - Apple Support