You are contagious for the entire period of time symptoms are present, all the way until they disappear.