A photo of the problem area would help. Is this bit part of the camera or the flash? In most cases, if it's part of the Yongnuo flash, just buying replacement is likely the best solution, but if I can see what is broken, I might be able to suggest something.
Charley.