You can check the game's manual from the 3DS Home menu.
You should also read up the official e-manual here:
smilebasic.com/en/e-manual/manual11
Most people learn by trying, however. Try learning a few basic instructions, play around with them, and learn about more advanced stuff as you go.