Purge walls and equivalent-named features in a slicer is how a multi-material printer clears the nozzle of the previous color or material.

I'm not familiar enough with your printer to ensure that my suggestions are valid, but Prusa makes a top-notch free slicer program. Many users will have Cura as the slicer, but I have found that I do not particularly enjoy the interface.