It is a figure of speech, rather than an actual garment. To put your big boy pants on means to act more maturely, or at least, less childishly.