Also, if your tamagotchi gives poop or a bad gift to another tamagotchi through connection give your tamagotchi a time out. (sometimes it doesn't work for me, but usually does)
it depends on discipline and how you take care of your tama. Make sure you look ay it when it beeps and go to your health meter and see whats wrong. If your tama is an adult it should be experiencing how to do other things i.e. writing, reading.