Help with Recursions in Java

In a grade 12 computer science course and were studying recursions in java as our first topic. Were currently using a website named CodingBat that has problems which we solve. I understand the main concept of recursions and whenever I view the solutions I understand it too. But I can never get the hang of doing the problem myself. Any way to get past this?