Expose the rotted beam. In some sheds it may mean removing the subflooring or accessing the floor joists from the crawlspace beneath the shed.
Measure the length and width of the rotting beam. Take those measurements to the lumber yard. Ask the staff to assist you in purchasing the correct size beam for your floor. Beams with 4-by-6 dimensions often work well for this project.
Locate the portion of the beam that has not been affected by rot. Measure the length of the rotted piece. Cut the new beam to a length about 10 inches longer than the rotted piece of beam.
Fit the beam into the floor next to the rotted beam. Line up the beams so that the new beam overlaps the rotted beam. The new beam should meet the edges of the old beam least affected by rot. Use your nail gun, firing three to five nails through the good beam into the failing one. Repeat on the opposite end.
Use your hand saw to help cut out and remove the rotting areas of the failing beam. Joining a new beam to the rotting one helps repair the floor, making it strong.