You can apply at any Social Security office in your area or it can be done by mail or phone. This should be done as soon as you become disabled.