Bedtime tips

My son will cry & cry at bedtime, I breasrfeed him & he will latch on then let go and cry/whine then latch again he’ll do this over and over

I figured maybe he’s just not hungry & I lay him down and he cries even worse 😅 any ideas why? Is this happening with anyone else?