How to choose the right earphone?
How to find the type while buying? Test it if possible, if you get the wrong type, It'll not do any harm, worst case you get mono sound and microphone will not work, new phones have the 2nd type.

https://en.wikipedia.org/wiki/Phone_connector_%28audio%29#TRRS_Standards