Remove the flooring from on top of the subfloor. To pull up carpet, insert the tip of a crow bar between the carpet and the tac strip underneath to dislodge it. Then pull it up. You can use a crow bar to pull up wood flooring as well. For tile, place a towel or cloth over it. Then use a hammer or sledge hammer to break up the tile and dislodge the pieces from the subfloor.
Find the nails or screws that are holding the subfloor to the joists beneath.
Insert the claw of a hammer underneath each nail head in the subfloor. Then pull up the heads to remove the nails. In some cases the subfloor may be screwed into the joists, use a Philips screwdriver to unscrew each nail.
Pull up the subfloor once you have removed all the nails or screws.