How do you know your guinea pig is in labor?

well they look really depressed and sad and don't move except for food and water. When they baby is coming the guinea pig won't move and then the baby guinea pigs will just come out. Or your guinea pig might be dying.