If fishing for fun, you can limit the chances (if any) of any damage caused by the hook, by using a 'barbless' hook, then return the fish safely to the water asap.
Where fishing for food is permitted, take take only what you need and follow local rules.