Help with PDF-Based Chatbot and hallucination issues

I am new in prompting and facing with hallucinations, wrong page nos, missing some of the data. Can you guide me with the process that you mentioned in details. I want to learn about then and try to implement them.
Thank you in advance.