The planet is cooling off, although very slowly. Heat in the inner planet has three sources:
Original heat present when the planet formed
Heat given off via radioactive decay
Heat given off when liquid outer core iron crystallizes at the inner/outer core boundary.
Eventually the latter two will subside and Earth will slowly cool down permanently.
Latest Answers