There are two types of free kicks, direct and indirect.
Direct free kick
Direct free kick is awarded when there is a foul or a handball
Direct free kicks can be directly kicked into the goal
Indirect free kick
Indirect free kick is awarded in case of an offside
Indirect free kick cannot be kicked directly in the goal. If the ball goes inside the goal post directly, without touching any player, the goal is not counted.
When taking free kicks, the opposition players must be an age specified distance away from the ball. Once a player takes a free kick, he cannot touch the ball until his team player or opposition player touches the ball.
A soccer games starts with a kick-off and is awarded to the opposing team after a goal. A kick-off is a direct kick taken from center mid field - all players must be on their own half of the field - non-kicking team must be outside the center circle until ball is kicked - ball must be kicked forward - kicker cannot touch the ball a second time until any other player has touched it first.
A handball is concidered when the ball touches any part of the hand up to the shoulder at the referee's discretion. Incidentail contact with the ball to hand/arm while the arm is held close to the body ususally is not concidered a handball. A handball awards the opposing team with a direct kick.
When a player knowingly or unknowingly kicks the ball out of the play, on the side lines, the opponent player takes a throw in. Rules for "throw-in" - the player should stand outside the side line - both hands on the ball - throwing the ball over his/her head - keeping both feet on the ground.
A goal kick is offered when the attacking team's player touches the ball, and it passes over the defending team's goal line. Goal kicks are taken from within the six-yard box. Example: attacking player takes a shot on goal where the ball sails over the goal not touched by any other player - the defending team is awarded a goal kick.
Corner kick is offered when the defending team's player touches the ball, and it passes over the defending team's goal line. If the ball passes from the left side of the goal, corner kick is taken from the left corner, whereas if it passes from the right side the corner kick is taken from the right. Corner kick is a direct kick taken from the corner with the opposition players at a 9 meter distance from the corner. The player who is taking a corner kick, can directly hit the ball inside the goal post. Example: attacking player takes a shot on goal where the ball is touched by a defender then crosses the goal line (not in the goal) - the attacking player is awarded a corner kick.
If a player pushes or kicks an opponent when he is trying to get the ball, it's termed as a foul. If the player has pushed or kicked the opposite player knowingly it's a misconduct. Referee can signal a yellow card, if it's less severe or a red card in a worst case scenario. A free kick is awarded to the opposing team.
Penalty kick is awarded when the opposition player commits a foul or there is a case of a handball, inside the D or the penalty box, which is of 18 yard. The attacking player shoots the ball from 11 meters with only the goalkeeper guarding the goalpost.