Go through these in order and stop at the first one that applies. If you are reading this for someone else, answer for them.
Get emergency help if you have thoughts of suicide or feel unable to keep yourself safe.
Do not drive or operate machinery if sleep loss or a sleep medicine has made it difficult to stay alert.
Seek urgent medical help if you have gone with very little sleep and develop unusually high energy, racing thoughts, severe agitation, hallucinations, confusion, or risky behavior.
These symptoms may reflect a mental health or medical problem rather than ordinary insomnia.
If dangerously impaired alertness is immediate, arrange safe transport and urgent assistance.
Arrange a routine appointment if sleep difficulty lasts for several weeks, keeps returning, or affects work, study, relationships, driving, or mood.
You should also seek assessment if you rely regularly on alcohol, cannabis, over-the-counter products, or prescription sedatives to sleep.
Routine assessment is also appropriate if you have loud snoring, breathing pauses, gasping, an urge to move your legs, persistent pain, or symptoms of anxiety or depression.
These features may point to a contributing condition that needs separate care.
Every sign above is quoted from the sofidex article on Insomnia. If you are not sure, err upward — it is always reasonable to be checked.