You cannot run IE. Edge will may give you this message depending on the state of your Windows 7 operating system. - that is life. Try an old unsupported version of Chrome. You may also wish to try Firefox as well. Firefox is not Chromium-based.
You can try suppressing the Edge message (may depend on the state of your Windows 7 machine).
See: Suppress Edge Warning
Registry Hive HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER Registry
Path Software\Policies\Microsoft\Edge Value
Name SuppressUnsupportedOSWarning Value
Type REG_DWORD
Enabled Value 1
Disabled Value 0
Otherwise, Windows 7 is long dead and out of support. Not even security patches. To keep running it is to risk your security. Windows 7 is likely to attract viruses of all kind.
So heed the warning and upgrade to at least a version of Windows 10 still in support.