resocialization

noun

The psychological readjustment of a person to conform to the norms of society (e.g. after being institutionalized)