What do you do when the guinea pig will not eat and does not move much?

He is probably sick and you should take him to a vet.

He could also be dieing but you cant do anything about that.