How to loop animations
You can select the object, in the Dopesheet select its keyframes (to only see this object's keyframes, use the Only Include Channels Relating To Selected Objects option, small arrow icon button) and press ShiftE > Linear Extrapolation, and the object should continue its rotation infinitely.