How do I change a sprite's image using scripts?

Hi, I’m fairly new to Unity and I’ve been using tutorials to learn it. I feel like I’m doing pretty good, but I have a problem. The game I’m making is 2D and I’ve created, so far, a texture for the character facing forward and one facing backward. I want them to switch when I move up/down, but I just can’t work it out. I’ve looked it up on google and these forums but I can’t find anything useful to me as I’m a beginner. Please can someone help me? Thanks in advance!

And by the way, I’m using C#

This guy lays out sprite animation pretty well:
link text

If you only have 1 sprite per “animation”, he lays that out too here:
link text