If you want, you can then try to straighten it or replace the stanchion itself.
Or, as I have occasionally done, you can gentlely, but firmly try to straighten the stanchion inplace. If you try that, you need to pull the stanchion orthagonaly from its bend. If the stanchion is bent in two directions, then its not likely that you will be able to make it look right.