You buy a roll of silencer repack, pull the silencer apart, remove the old silencer, wrap the repack around the new one till its the right size, cut it, use masking tape to hold it together, then slide the core into the silencer body, and thats it.
Theres a little more to it (finesse), than I wrote about, but thats the general gist of it.