Quoted By:
The most painless way is an exit bag, which basically involves swapping out your oxygen supply with an inert gas. Completely painless. You get dizzy and lightheaded, pass out, and don't wake back up. Pretty risky though, if someone stops you before you die you could be looking at permanent brain damage, also not free.
The best free way is a train. Don't just jump in front of one like a fucking spastic, lay on the track, away from a station so it is going fast enough to just straight up dismember you, and too fast to stop in time (bonus points if it is at nighttime). If you lay down in a way that the wheel will go over your head or neck, completely painless. Also, lay something over the tracks that will stop yourself from being electrocuted by the tracks. Something simple, like a large rubber sheet or a blanket covered in insulating tape will work.