Question:
Can someone who just lost a relative take a shower
Answer:
If the relative is one that the person has to sit shiva, the halacha of an onen is that he may not do anything that an avel may not do, plus that he may not eat meat or drink wine.
Sources:
Y:D 341-1