Several main things to look for are the color, shape, shell covering and location of the cocoon. Butterflies usually have green cocoons while other bugs have brown cocoons. Each type of species also have the own cocoon size and shape. Some bugs even have shell coverings for extra protection. Look at nearby surroundings what is around it.