Here’s how retiring early affects your Social Security benefits.