Unless there is an obstacle, they usually run level or plumb. Vent pipes need to be installed to stay dry. They should emerge from the top of the drainpipe, either straight vertically or horizontally, so that water cannot back up into them.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.