Crafting good prompts makes a big difference. Also, after it gives you an answer, say you think there's an error and ask it to check its own result. It will often correct itself. This self-reflection ability leading to more accurate outputs was pointed out in the new Reflexion paper:
https://twitter.com/ericjang11/status/1639882111338573824