Cactus dying?... Can it be saved?

Noticed my cactus has turned yellow on its biggest part and flopped over, other parts are still green.. Can it be saved?