About bug in a working of GPT

It is generating same answer again and again without stopping. Have to stop in manually. Strongly ties to the previous context. (talking about GPT-3.5)