Can you expand on your question?
The way duels were carried out and the customs and laws around them varied massively by region, time period, and social context. Sometimes they were completely illegal, but practiced regularly. Sometimes they were legal, and even part of the judicial system. Sometimes people followed customs of a duel bound only by social pressure.
It really depends on a low of things. What kind of duels were you thinking about?