When the universe runs out of energy, it will no longer be able to sustain itself. The stars will go out, and all matter will eventually dissipate into nothingness. There is currently no scientific consensus on what exactly will happen when the universe reaches this point, but it is generally agreed that it will be an extremely long time from now.