Pip upgrade to 22.3 windows10

I opened python.exe and tried to run the install

>>> -m pip install --upgrade pip
  File "<stdin>", line 1
    -m pip install --upgrade pip
       ^
SyntaxError: invalid syntax
>>>

So, I’ve run the pip install from cmd as admin and now python.exe. none of them work.