What would one have to exercise and eat in order to lose fat and build muscle?

Hello new to exercise and fitness and look for advice to get into shape I am 6'4 and kind of skinny fat so I would like to lose this belly and build muscle any advice would be appreciated
What would one have to exercise and eat in order to lose fat and build muscle?
Post Opinion