Even if the sun did explode, it probably wouldn't affect the earth, after all, it's so far away. If I were the sun, I'd definitely venture out into the universe to see what's new and exciting, and then tell the stars the stories of my journey.
You can also invite the moon to join you, and have a companion on the road, so you won't be alone even if the universe is big. Maybe even see if black holes are really that amazing, or if there are wormholes through time and space, and maybe find another sun that looks a lot like me but is different.
But I'm not the sun, I'm just a regular, ordinary person, one of billions on the planet.
But if the sun ever does explode ...... then everything will be different.

The sun does get hot, the surface temperature is 5500 degrees. It's a matter of physics, psychology doesn't govern that.
It is impossible to say whether the sun will explode or not. According to the evolutionary laws of other stars, the Sun may one day explode, and the Earth will certainly be affected. The Sun and the Earth are about the same age, both around 1.5 billion years, which is equivalent to middle age. In another 1.5 billion years, it may be old. An explosion is a possibility, as well as a collapse. After all, that's a long time from now, and there's no definitive answer right now, and it's hard to say if humans will still exist or not by then. Maybe we'll still be alive and have been able to sail the universe and find a new home.
Some of those sci-fi stories are not made up out of thin air, they are based on theoretically derived possibilities. Of course, there are also many that are purely fictional.
If you are interested in this type of knowledge, you can delve deeper. These fall into the realm of astronomy, physics and cosmology. Delving deeper may help mankind better understand the universe and develop it.
If it's just for fun or worry, then don't worry too much about it. The sun has a long life ahead of it, and we won't see it explode in our lifetime. Also, with the current level of detection, we've captured even the light from the early days of the Big Bang, but we haven't found alien life yet, let alone advanced civilizations.
The unknown can sometimes cause inexplicable fear, and sometimes it can inspire curiosity. If you are truly curious, I hope you reach out to it, understand it, master it, and break the bonds of the unknown. Let new knowledge fill your heart and motivate you to grow in life.
Hopefully you can help us unlock some of the secrets of sci-fi, prove their false nature, or turn them into real and usable theoretical grounds.
I wish you joy and happiness and good health!