How to get a flat stomach……?

So I’ve noticed I’m gaining a bit of weight around the stomach area and I wanna make my stomach flat again.

A friend told me I have to do 100 sit ups a day and skip with a skipping rope for 10 minutes straight. Is this true?

What else am I supposed to do?

I’m 16 and I’m a girl if that helps.