Regeneration and prevention in the system approach