I also have pain issues when knitting. Some days I can't knit at all. Occasionally, I have to stop knitting for a couple days in a row.
I am a slow knitter, so I'm picky about what I knit. I know it will take a long time. But, I enjoy every stitch. When the pain comes up, I'll take a break and rub my hands and arms. It helps to do arm stretches also.
On the days I'm not knitting, I use an ice pack on my aching joints, and it really helps.
I used to crochet, but had to put that aside completely. The twisting of the wrist with each stitch was just too much. I can't do continental knitting for the same reason. English knitting works best for me.
I've heard that Norwegian knitting is good for helping to avoid pain in knitting, but I haven't tried it yet.