This has a good overview and emphasizes that it takes pre-planning, and it also depends on which state you live in.
Alternative Options to Hasten Death | Death With Dignity
Whether or not your state has a death with dignity statute, you have a number of options available to hasten your death. These options are legal in every
deathwithdignity.org