To Take over a village their are some Guides that will be needed for people to read. Any body can take over a village but they would have to go through some tasks to fully take it over. If your in a village and attack another one than that means the Kage may think that the other village called war on the village and try to destroy it. You MUST to fight the Kage/leader of the village you take over and defeat them to win the village.
I'm going to do something different on this site though.
To take over a village you must first have a village yourself or be in an organization. You will first have to go through the village gates and get past them. If you attack leaf you have to explain how you get past their barrier. If you attack Iwa then you have to over come the mountianous terrain. Randomly one of your members will be killed because of the terrain. If you attack cloud then you must deal with the border patrol they have there. They won't be easy to get past and you must get through their fence. If you invade Suna you must be prepared to endure blistering heat and drought. You will randomly lose one member to heat stroke and one to Dehydration. Attacking Suna is the worst idea. If you attack Mist you will be completely suprised by the mist anbu inside their mist. You will take heavy damage due to the mist. The only way to avoid these are if you were formally from the village you attack or if you are currently inside the village.