How do you get a six pack or a really hard flat stomach?

How can i get a six pack/’ really hard flat stomach fairly quickly?
Thanks in advance xx.