Were all settings you entered when creating the account on the iPhone confirmed/verifired with a green check mark next to each?
At Settings > Mail, Contacts, Calendars, select your Yahoo account.
Select the account to view the account settings.
If your Yahoo email address correct in the Email address field?