Trial and error for the most part.When I got a bit stronger and was comfortable, I asked other real lifters and coaches to correct anything that was sloppy or could be done better. Within reason, I think one of the best things you can do starting out, is not worry about coach xzy, or lifting technique abc, just buy a barbell an screw around with it.