There are options in the *Graph Editor tab : Channels > Extrapolation Mode > Make Cyclic* or <kbd>Shift</kbd> + <kbd>E</kbd> and *Make Cyclic* from *Graph Editor*, that will put your animation in a loop.