Retirement tax questions

Thank you,

So how do you determine how much your SS will be reduced or what the penalty is for being over allowable income?