Below are a few examples of dealing with an internal floor that has either sunk or has rotted away
For Most Floors That Are Out Of Level You Can Use A SelfLevelling Compound To Make It Flat
How To Replace Rotten Joists And Floor Boards