Windows 10 upgrade message

I am still running Windows 7 but get a message continuously to upgrade to windows 10.  Why is this not realizing I do not have windows 10?  How can I shut it off?