Go through these in order and stop at the first one that applies. If you are reading this for someone else, answer for them.
Call emergency services for a suspected medication overdose, severe difficulty breathing, inability to wake, a seizure, or signs of a serious allergic reaction.
Sudden one-sided weakness, facial drooping, or trouble speaking also needs emergency care and should not be attributed to sleepiness.
Seek prompt medical advice if sleepiness begins suddenly, worsens quickly, or starts after a new medicine or substance.
New cataplexy-like weakness, repeated collapse, major changes in behaviour, or new neurological symptoms need reassessment because they are not typical features of idiopathic hypersomnia.
Arrange a routine medical appointment if daytime sleepiness has lasted several weeks, repeatedly interferes with daily life, or continues despite enough sleep.
Assessment is also appropriate if you regularly sleep through alarms, take long unrefreshing naps, or fall asleep unintentionally.
The article also says
Treat inability to stay awake while driving or doing hazardous work as an immediate safety problem.
Stop the activity and move to a safe place.
Do not try to overcome severe sleepiness with an open window, loud music, or caffeine alone.
Every sign above is quoted from the sofidex article on Idiopathic hypersomnia. If you are not sure, err upward — it is always reasonable to be checked.