how can i put text on 3d object and keep it attch to that object so if i rotate the view it will stay on the top of the object?

how can i put text on 3d object and keep it attch to that object so if i rotate the view it will stay on the top of the object?