Take a look at the SDK examples like Level 1-1.
The SDK provides this way:
https://sdk.play.date/inside-playdate/#_animation
Loading images for use with animation:
https://sdk.play.date/1.12.3/#C-graphics.imagetable
But there may be other, easier options:
Dustin made this extra:
https://devforum.play.date/t/lightweight-animatedimage-library/4500
WhiteBrim made this extra:
https://devforum.play.date/t/animated-sprite-helpful-class/1884
I just set the frame of the Sprite manually!