It’s important to understand how Social Security works before you claim your benefits.