Boyfriend is always insecure

Hes constantly putting himself down, saying hes fat, thinks hes ugly, etc. i try to tell him hes not, i think hes perfect, and i always give him compliments. But he doesnt take them, and just brushes them off. Its getting pretty frustrating at this point. What do i do?