I can see where your problem is coming from but pls kindly
Elaborate the problem.
When you boot it, do you see any malfunction in the booting process?
Does it take too much time to boot?
When also logging out, what have you observed?
Does the system display any error message?
Since when did this problem start?
Lastly what OS are you using?