You need to limit the AI in the prompt. If you dont tell it to only act in a specific field, it will make up everything else. It also helps to tell it to answer as honestly as possible and tell it to say " Sorry I don't know" if it does not know the answer.
All of these things can help prevent the AI to output wrong or made-up information.