The star will collapse, increasing the pressure + temperature of the core, meaning heavier elements can fuse. Once all the fusion has happened, it is too massive to be stable, so the star collapses, rebounds on its centre and produces a supernova. What remains is either a neutron star or black hole