Should I lock myself in a mental institution?

I am not suicidal but i have previously attempted suicide and I feel like I am a bomb at any given moment my emotions feel like they are too much and i feel like “what’s the point of living” I recently started to fantasize and think about the first time I attempted to take my life and now i am just thinking about it and I don’t think i will do anything but i am just scared of myself. I really don’t understand my emotions.
Should I lock myself in a mental institution?
Post Opinion