If you're applying oil to the brush for dry brushing then you should shower before dry brushing.
But if you're not applying the oil to the brush then you should dry brush first and then shower after dry brushing.
Then after dry brushing apply either the lotions or oils that you're dry brushing your skin with.