please remove all of the grammatical issues from the sentence:
Secondly, automation helps to solve the social cost and reduces the need for younger generation to take care of aging population.
Secondly, automation helps to reduce social cost and reduces the need for the younger generation to take care of the aging population.