Did you expect this file? If it came from an unsolicited email or a suspicious website, do not open it.
Use The Unarchiver or Keka , as macOS's built-in "Archive Utility" does not always support the .7z format.
Right-click the file and scan it with your antivirus (like Windows Defender) before extracting.