How does assisted dying work in other countries?

Around 400 million people now live in countries with legalized assisted dying. Laws vary widely across jurisdictions, with some restricting eligibility to the terminally ill while others allow it for those with incurable conditions causing unbearable suffering.