How Does the SSA Decide Whether I Can Work Despite My Pennsylvania Disability?

How Does the SSA Decide Whether I Can Work Despite My Pennsylvania Disability?