You should replace both the brake and derailleur cables and any housing, greasing well when you insert the new cable into the new housing. Open both hubs, the bottom bracket, and the headset to clean and regrease. Clean and oil the derailleurs. Either clean and oil or replace the chain and freewheel.