You can change your search engine on Microsoft Edge by heading to your browser's "Address Bar" settings.
You can change your web browser's search engine through the browser's settings on your computer or the app or system settings ...
If your default browser homepage and search engine keep mysteriously changing to Yahoo!, your computer is probably infected ...