How do I fix my pan?

Looking for some guidance to fix and season my lodge skillet. I'm at a bit of a loss on what i need to do to fix this.. is that rust, why is the black coming off inside the pan? Is the bottom heat damaged? Any advice would be greatly appreciated!