Determine the location of the wall. Snap a chalk outline the length and width of the proposed wall.
Lay a pressure-treated 2-by-4 alongside the outline and, beginning at one end, mark it at 16-inch intervals. This is your sill plate and is the bottom component of your framed wall.
Toenail (nail at a 45-degree angle) a wall stud to the sill plate at each mark. Use two nails for each stud; drive two more from the opposite side of the stud for added strength.
Toenail a 2-by-4 to the studs opposite the sill plate. Again, use at least two nails per stud.
Stand the wall inside the outline. Nail it to the slab with a masonry nail between every two studs.