booting ubuntu from usb flash drive

https://www.theodinproject.com/courses/foundations/lessons/prerequisites

I’m following theodinproject guide for web development. trying to install ubuntu from USB flash drive. booting my USB flash drive after selecting it from restarting my computer causes me instead to open a old windows drive on my pc that I thought I had wiped because I was worried I had a virus?