If what's left over after a supernova explosion is less than about 3.5 times the mass of the Sun it will be a neutron star. If it's larger than 3.5 solar masses it will become a black hole.