Oedipus was found in the mountains as a baby, he was found by a Shepard then given to another Shepard who raised him.
When Oedipus is older he then kills his real father, but he doesn't know it's his father.
The blind profit tells Oedipus the story of how was going to marry his mother and kill his father but he didn't believe that would happen since he had already married someone who wasn't his mother(but it was his mother)
Jocasta and Oedipus get married and have 2 children together.
Oedipus walks into the room and finds that Jocasta has killed herself.