Depends on what you need to do really.
Krita is specifically designed for digital painting, Gimp is way better at photo editing.
Krita has better brushes for drawing right out of factory (and in my opinion a better brush engine to create more) but can't print.
Gimp can print and is a good program for photo editing.
So you'll probably want to use both.