If you need a hammer in RuneScape, the place to go is a general store.
General stores stock a range of basic tools and items, and the hammer is one of them, so swing by one and you should be able to pick it up with ease.