The world needs a new source of energy, an unspillable source.

Geothermal energy do they drill all the way to the earth’s core?

How do they get geothermal energy?
Do they drill all the way down to the earth’s core?
How long does it take to drill as far down as they need to?
(I feel very naive asking this haha)