It depends.  If you are eligible for retirement benefits on your own record and on your divorced spouse’s benefits, Social Security will pay the retirement benefit first. If the benefit on your ex-spouse’s record is higher, you will get an additional amount on your ex-spouse’s record so that the combination of benefits equals that higher amount.

See Social Security Benefits Planner: Retirement.