Acidity after overeating is usually caused by excess stomach acid (hydrochloric acid). To relieve this, one needs to take an antacid, which is a basic substance that neutralizes the acid.