How can I make an object rotate infinitely?

And thanks everyone for the help! It’s much appreciated.