if a person who is on rrr wins some money how does that affect your mounthly earning
Winning money wouldn't affect a person's Social Security benefits unless the IRS considered the winnings to be earned income (e.g. money won by a professional gambler). Even then it wouldn't affect a person's ability to receive their benefits if they are full retirement age or older (https://www.ssa.gov/planners/retire/whileworking2.html). I think the same rules apply to Railroad Retirement benefits, but I'm not an expert on that program so I can't say for sure.