Yeah, take a break and distract yourself with other things until motivation strikes you again.
Sometimes I find looking at other related things (like if you're drawing, looking at artwork, or if you're writing a story, read a good book) helps drum up that inspiration you need when you hit a wall