Did you smash it acedentally on something? did you try to debug it? did you drop it on the floor? See if you remember doing any of those. If, your tama might just have rune out of batteries.
Yes, did you smash it or anything? My friend told me her Tamagotchi wouldn't stop beeping and I asked her if she smashed it and she said she dropped it in a jug of juice!