You can tell if a guinea pig is stressed by observing its behavior. Signs of stress in guinea pigs include frequent hiding, loss of appetite, excessive grooming, teeth chattering, and loud squealing. Additionally, a stressed guinea pig may show signs of aggression or lethargy. It's important to address the cause of the stress and provide a calm and comfortable environment for your guinea pig.