Yes, you would use those, depends on which direction. If you want to go from low to high, you would say "I went UP the stairs."
If you want to go from high to low, you would say "I went DOWN the stairs."
Hope that helps/
Or you could just say I took the stairs, but you should make it clear where you started and where you are going.