Arduino DRONE

Hi first say I'm a little new in arduino. But I plan to do a project of a drone, and I have the materials and everything,I control the motors at the desired speed, but I have some doubts about programming the flight and stability.

You know of some other post where you discuss this or websites with some examples? It would be helpful Thanks.