hey man, i know where youre coming from, last year i had a string of races where i couldnt stay on teh bike, it cost me big in points and i wasnt sure what to do, but i kept giving my all, and it only took 1 good finish and my confidence was back. Sure, the fear is still there, and it always will be, but after a while you cope with it, block it out, and keep going.
even this year itys been a rough start, last weekend i crashed and got stitches in my hand, i raced this weekend with them still in. my friend messed up imn a cornwer and broke my shock into 3 pieces, it scared the hell out of me because the bike stopped so fast, but i borrowed some shocks and went back out.
all you need is to get your confidence back up, and, if youre on a yfz, getting beat by a ktm isnt that big a deal, from what ive seen and my own experience, KTMs are ridiculously fast stock and it takes some cash to bring a yfz or honda up to par, not your fault, just keep riding.