Psycho-pedagogical prevention of deviant behavior