It just takes practice. If you’re really stuck, you can find a manga that you like and sort of use it to help you write your own story. Study how they divide up the panels to tell a story (the pacing), and how they choose to tackle certain scenes. Practice as much as you can!