Yes, I know, but the earth is not a star.
Helium is not produced by the Earth. It is merely present on the Earth like oxygen, carbon etc.