Weight loss

What’s good ways of losing weight and gaining abs?

What food would be good meals for breakfast lunch and dinner and i am a size 10 but would like to be a lot smaller.

Would the most affective way be to lose weight first and then try exercises that gain muscles and abs or just start with that from the beginning? X