Bad root system

First time grower.Last year when I switched to 5 gal.pot there were very few roots and the plants were 18".They didn’t get much biggerAny tips I started them indoors and moved them outside.