Depends on context. If you referring to the "Sun" as in specifically to the star in a scientific sense, I would use "Sun". However, if you were using it colloquially, such as "the sun was hot" then I would use "sun" because thats what everyone uses it as.