Toe Nailing Studs to Plates
Measure and mark your stud placement on both plates and make sure the studs are on the marks when you nail them.

Generally, I lay the plates next to each other with the ends aligned.  Then mark and strike the line across both simultaneously.  Don't forget to mark which side of the line the stud goes on.