"Yahoo" is not a mail client. You can't "switch from Yahoo to Outlook".
Outlook needs a mail service to which to connect in order to download
messages from that service's mailbox. Ask your mail provider what you need
to do to configure Outlook correctly.