The Social Security system can be complicated to navigate. Whether you’re in the early years of your career or nearing retirement, it’s important to understand how social security works and how to maximize your eventual benefit, especially if you are divorced or widowed.