A mold adapted to be introduced into a joint of a human patient for resurfacing at least one carrying contacting surface of said joint is provided. The mold is adapted to receive material for resurfacing at least one carrying contacting surface of said joint. The mold is further adapted to be resorbed by the human body or melt after having served its purpose. Further, a method of treating hip joint osteoarthritis in a human patient by providing an artificial hip joint surface using a mold is provided. The method comprises the steps of: said mold being placed inside of said hip joint, said mold being injected with a fluid adapted to harden, said fluid hardening inside of said hip joint, said mold being resorbed by the human body, and said hardened fluid serving as artificial hip joint surface.