Look on the sub panel for its specifications. They're typically located on the cover, in the center of the panel.
Record the maximum amp capacity and suitable wire types. Wire types are commonly copper (Cu) and/or aluminum (Al).
Look at the main breaker that's protecting the panel for its amp rating. The rating of this breaker must be less than or equal to the rated amp capacity of the sub panel for a safe electrical system.
Look at the wires entering the side of the panel for their wire type. This is printed on the wires' insulation. Don't touch the wires; doing so may give you an electrical shock. The wires entering the panel must be listed in the suitable wire types for a safe electrical system.