In any given start, there is the equilibrium of two forces. And inward force due to gravity:
And and outward force produced by the thermal pressure due to the fusion of the star_
The balance between these two forces is what gives the size to the start.
Therefore, the answers are Gravity and Thermal Pressure