Cleaning Grout in Shower

Can you explain what I need to do to clean and restore or replace the grout in my tiled shower? The tile is 4″ x 4″ with white grout, and mildews black weekly.