There are different ways to animate sprites. I'm sure you can easily find a lot of guides and tutorials. But RPGM doesn't offer tools for that and you have to draw the frames with whatever art program you're comfortable with.