Hello sheilafamilyfood,
Thanks for reaching out to us here. It's important you get the help you need and I'll be happy to assist.
In order to remedy this issue, I recommend using the QuickBooks tool hub. The QuickBooks Tool Hub is designed to help fix issues such as the one you've described above. Feel free to check out this article here that shows you how to effectively use the Tool Hub to your advantage.
Let me know if the program still logs you out after trying this. I'll be one message away.