I use a few leayes 1) BG 2) sketch, just to see where I should draw 3) the painting itself. I try not to use lineart, so I don't have a specific layer for it 4 5 56 657657
^ I sometimes add layers and start painting on them but at some point i just merge them all and continue on the 1. and BG layer is usually saved for the last.
of course there a layers for procession, adding light light and contrast and etc. but by that time my whole painting is on 1 layer.
I'm only beginning at drawing lineart digitally, so I use different layers. I do the general shape in one layer, then I do the details in different layers, but when I'm happy with the result, I merge all the lineart layers into one.
Depends on how many mistakes you make. I often do detailed work in a different layer because, when I make a mistake then, I don't identically erase the base lines that were good. But it's all a matter of personal preference.
I used to use a whole bunch of layers but now I just stick to one since it was too much to jump between layers all the time. If it's something I know will take me a few tries before I like it, then I'll use another layer.