A rock is a projectile weapon. You can throw it by hand, but most monsters prefer to use a sling; so should you. If you kill a hobbit, you might find a sling. Wield the sling, then throw or fire the rock.
From the sling of a hobbit, a rock harms you with 1 to 2 points of damage, possibly more.