painful latch

cicca

any advice on how to fix a painful latch? ive watched a ton of videos about getting a deep latch but idk what my lo problem is. his lips r flanged and his latch seems to be good. i think he starts to slide off my nipple as he continues to feed because it doesn't always hurt at first.. any advice?