If Yamcha is giving you trouble head-on, the key is to fight smart rather than trading blows. Keep your distance and stay out of range of his attacks, then chip away at him using a ki blast like the Kamehameha or whichever energy move your character has. Ranged pressure lets you whittle down his health without taking much damage in return.
You can also try getting behind him and landing a string of attacks before repositioning. Whichever approach you choose, patience and good spacing will get you the win and the Fox Mask that comes with it.