What is the perfect diet and exercise to gain a flat stomach?

I’m trying to lose my stomach fat but I have no clue on how to do it. I need to eat the right foods and do the right exercises. I hear sit-ups are not enough….