There's nothing you can put into the food that will neutralize the spice after you eat it. The only way to avoid the infamous "ring of fire" is to add less spice to begin with. One way you can do this is by removing the seeds. Some of the heat from chilis comes from the seeds, however it doesn't all get extracted from the cooking. After you eat the chili the seeds keep producing capsaicin, meaning your insides get more spice than your mouth. If you de-seed the chilis you need to use more as you lose some of the heat, but you'll get the full force when you eat the food. You can also use chili powder for most of the heat, and then whole or chopped chilis for decoration and texture as the capsaicins from the powder will be more fully extracted by the cooking process.
Some people drink yogurt based drinks (mango lassis and such) to counteract chili. This can calm the heat in your mouth and some people get some relief from the internal symptoms as well, however it's different for everyone and YMMV.
Still, there's only so much you can do, if you like really spicy food you have to be willing to pay the piper.