@pedro2012 you can check the wires with a multimeter. Place one end on the connection on the board and then touch the wires on the drivers (speaker) or the mic. You will know which wire goes where by your meter showing continuity. If your meter does not have a continuity test, use the resistance scale. If you have trouble with that, post some images of your complete earbuds with the wires, earbuds etc., with your QUESTION so we can try and help you with it. [guide|21499]
Videos like [https://www.youtube.com/watch?v=i59mDjY9JRo|this one] as well as [https://www.youtube.com/watch?v=SMm00KVr9Pg|this] are always a great starting point.