How to change colors

I just learned how to knit and im trying to do a scarf with two colors. I finished the original color (red) and i want to switch to black, how do i secure the red and start with black for the next row? thanks!

You can just start knitting with the black and then weave in any ends later.