The story describes Judah's sons Er, Onan and Shelah. Er and Onan were wicked and put to death by God. Judah promised his daughter-in-law Tamar to Shelah but didn't fulfill the promise. Tamar disguises herself and tricks Judah into sleeping with her. She becomes pregnant with his children twins Perez and Zerah.