HA re-starts randomly

I have HA OS 2023.4 installed on a raspi 4, 4 GB of memory. Out of the blue it’s re-starting by its own. Sometimes it re-start several times in a row. Would you please give me some advice on the best way to diagnose my problem? Thanks in advance. The logs don’t help.