They just get cooler and cooler until their atmospheres freeze out on their surfaces. Eventually, the internal temperatures of the planets also diminish as the fission reactions that involve radioactive elements such as uranium and thorium, play out billions of years from now.