on the part of the stud that the wheel will go onto, use to nuts tightened against each other, then when screwing the thread into the hub you can get a spanner on the nuts and tighten the thread. having the 2 nuts tight together will mean they will not move on the thread. think if it as tightening a bolt in theory. then once the stud is on, use 2 spanners to undo the 2 nuts and job done.