The first thing he did wrong was kill a man that was the same age as his father may have been.
The next thing he did wrong was marry a woman who was the same age his mother may have been.
The third thing he did wrong was pressure the blind prophet into telling Oedipus who the king's killer was (himself)