Both. Showering before helps open pores; after helps cool down and rinse off sweat.