Determine where the floor is sagging.
Repair the sag slowly over several weeks. Push the floor up at 1-inch intervals from underneath in the morning using a hydraulic jack. Repeat the process at noon and in the evening. Check the floor, walls and floor joists to make sure they aren't cracked or damaged each time the floor is raised. Replace or fix any damaged supports.
Continue raising the floor at 1-inch intervals until the sagging is gone and the floor is level again.
Reinforce the floor when it is in the proper position by installing beams underneath the floor where it was raised.