presuming the pipe below the trv is hot unscrew the head of the trv from the valve, if the radiator then gets hot it is the head of the valve at fault, buy a new valve and swop the heads.
if the radiator doesn't get hot when you remove the valve then the valve itself is at fault, as said before use a small pair of pliers or the flat of a spanner to gently work the little pin up and down and try some grease or oil on it, at the same time try gently rapping the side of the valve with a spanner. if that doesn't work you need a complete new valve.