You can use a stem trick to tell if an avocado is ripe. To do so, pull out the stem of the avocado and examine it for any brown spots. If there are brown spots on the stem, then it is likely that the entire avocado is brown throughout and should be avoided. If there are no brown spots on the stem, then you can safely eat the avocado without worrying about spoilage or discoloration.