Plumbers....adding a shower drain questions

Without a P-trap, how do you prevent sewer gas from migrating into the room?