A client discloses suicidal ideation with a specific plan involving medication stockpiling.What is the immediate priority?