First comes technique, then accuracy, then speed. For as long as there have been musicians, that's been the sequence for mastery of an instrument. As several of my old teachers have said to me, "If you can't play it slowly, you can't play it at all." And if you can't play it slowly, you certainly can't play it fast. It makes sense to me.
Set that metronome on the slow side, make sure you can play that sheet music accurately and with perfect technique, then speed it up - slowly. And just in case you think I'm running low of wise sayings, "Slow and steady wins the race."