You need to really love the art of comics and have clear goals for your work. That passion and direction can keep you motivated.
First, have a unique and interesting story idea. Then, set achievable milestones and rewards for yourself. Also, get feedback from others to keep you going. Keeping your creativity flowing and staying passionate about your characters and plot helps a lot.