For starters, you can memorize the starting hand position or names of starting notes. What then? You can memorize the sequence of notes by name, and memorize how many beats each note gets. Or you can memorize words to sing with the tune. For more complex music look for chord sequences and repeated phrases, and put your finger memory to work.