It’s a good idea to gently move and exercise the arm where you got the injection. If you have no side effects and feel fine, there’s no reason why you shouldn’t enjoy other forms of exercise, provided you remain hydrated.
If you have a fever, muscle aches, or simply don’t feel up to it, avoid strenuous exercise for a day or two.