what do you do with roots that appear and grow outside of the pot.
Are the roots coming out of the drainage holes, or up over the top of the pot? If they're growing over the top, it's probably fine. Orchids naturally put out aerial roots: https://www.gardeningknowhow.com/ornamental/flowers/orchids/roots-coming-from-plant.htm
If they're coming out of the drainage holes or the gaps in the container, it's probably a sign that it's time to repot. You can read all about repotting an orchid in this article: https://www.gardeningknowhow.com/ornamental/flowers/orchids/repotting-orchid-plants.htm