Once you have ruled out your ability to perform your past relevant work at Step 4 of Social Security’s sequential disability evaluation, then at Step 5 of the evaluation Social Security considers your ability to transition to other work, that is less demanding physically or mentally (or perhaps both).
The Step 5 stage