I have found that the key to making less mistakes is to relax more when practicing and playing.
Tension in the body, particularly in the fretting hand and fingers, reduces youir ability to move and play freely. Then the mistakes pile up.
For myself, I do not always find this easy. ( Easier said than done). Particularly if I'm feeling frustrated.
Joe