I decided I wanted to change from an SD card to a USB flash drive however I am not sure how. I already have the distro I want to be installed on the USB flash drive I just need to know how to change it similar to the way you would do it on Windows 10.
The official documentation https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md explains very well how to do USB boot on different versions of Raspberry PI.
Raspberry PI4, 400 and 3B+ boot out of the Box from USB. For other Raspberry PIs you can enable a bit that it boots from USB. This is a one time operation. You can't disable USB boot afterwards on these devices. Since enabling it is model dependent and you have to take care for the Pi 3A+, please have yourself a look on how to enable it for your device. Since you didn't write your model, I can't write the exact steps for yours here.