OK, here's the drill. Your Tamagotchi has two types of beeps. The first one is like a little tune. What happens after that is the screen starts flashing and your Tama evolves. The second type of beep is the attention beep. What to do?
If it has a skull over its head: Go to the seventh icon (medicine) and give it the medicine. It may take two doses.
If it's crying: Go to the sixth icon (discipline) and select "Praise".
If it has its back to you with a little mark over its head: First, check to see if all its hearts are empty. Fill them if they are, and if it still has its back to you, praise it. If it's all happy and well-fed, praise it.
If it's doing nothing, just what it normally does: Make sure all the meters are full, then give it a time out.
Did that help?