A method of making a spacer device or a device to be implanted in a human body that includes a containment body and is suitable for treating a bone seat or a joint seat of the human body includes a base portion and side walls that extend from the base portion and that delimit between them at least one cavity, wherein the containment body has a plurality of pores and/or at least one opening, configured to place the at least one internal cavity in communication with the outside of the containment body.