A device and method for fixating soft tissue to hard tissue with the aid of a suture anchor and a suture or with the aid of a headed anchor, wherein the anchor is forced into the hard tissue and then anchored therein by in situ liquefaction of a material having thermoplastic properties. The device includes a vibration tool and the anchor and possibly a support element, wherein the anchor includes an anchor foot and a thermoplastic sleeve. The thermoplastic sleeve includes the material having thermoplastic properties. The anchor foot has a distal end suitable for being forced into hard tissue and it is connected to the distal end of the vibration tool and the thermoplastic sleeve sits on a proximal face of the anchor foot , the vibration tool and/or a proximal portion of the anchor foot extending into or through the thermoplastic sleeve.