If 1+iis a root of the polynomial f(x)=x^2 +2ix+c, find the value of c

If 1+i1+iis a root of the polynomial f(x)=x2 +2ix+cf\left(x\right)=x^{2\ }+2ix+c, find the value of cc