putting salt on the eggplant triggers osmosis, which draws out excess moisture and the bitterness along with it. remove any excess salt by wrapping the eggplant in a kitchen towel and pressing on the slices or cubes, which removes even more water.