How to make an aim sway and recoil? (FPS)

If you have implemented an aim offset then manipulating Interp speed can be helpful