Well, if it's your actual suicide then there wouldn't be much point asking...
But if you mean attempt, of course you can refuse. What happens next is all about context. I've had an attempt written off as "normal behaviour". Most of it will depend on your history, state of mind at the time, diagnosis (if applicable), the legislation and health policies where you live, bed availability and so on.