A supernova explosion will occur when there is no longer enough fuel for the fusion process in the core of the star to create an outward pressure which combats the inward gravitational pull of the star's great mass. First, the star will swell into a red supergiant...at least on the outside.
Hope this Helps :D