When Will the Sun Explode?

The Sun won’t every explode, but it will expand. When it does it will devour Earth! The Sun is actually too small to explode. I don’t know which one is worse, exploding or expanding? Either way, they both scare the life out of me!