Default [Q] no idea how to root

can anyone help me understand how to root and how to flash rom?