anti virus

will my anti virus be immediatly compatable if i upgrade from win 7 to wiin 8 ?