decking rails

My husband built our decking 4 years ago and is now putting up railings to stop our son falling off. He can do the railings fine but just want to know how we can strengthen it incase someone leans on them.