You can ask for company before you know what to say.
Find mental health support through the NHS
«Could you stay with me? I’m having thoughts of suicide and I need help getting through the next hour.»