Program doesn't work after disconnect and connect power

Thanks; but why when I upload the program by USBasp everything works well.