Both are important, but it's generally recommended to focus on improving your brewing techniques first, as this will have the greatest impact on the quality of your beer.