Best way to eat shrooms without throwing up😭

If I take swallow shrooms like pills with water will they have the same effects as being eaten