I just purchased a home built in 1828. The bedrooms have stinky old carpets. I lifted a carpet and there is plywood and a thin layer of foam on top of that. I want to have wood floors since my son has allergies. The floor has several coats of paint on it. Someone told me I should just flip all of the boards and then begin the refinishing process.

Any advice on this would be appreciated. Feel free to add any other tips or helpful suggestions.