take the line side " thats the main power going into your sub panel " trace it back to your main disconnect or breaker and shut it off . make sure there is no power going into your sub panel . now go buy which ever size sub panel you want . make sure you put the "legs" your line side back in...