If the offense was one of the Indirect Free Kick fouls, then it would be an Indirect Free Kick at the spot. (Or brought out to the top of the Goal Area if inside that.)
If the offense was one of the Direct Free Kick fouls, then an Penalty Kick would be awarded.
There are penalty kicks in soccer. A penalty kick is awarded when a defender commits a direct free kick offense while within his own penalty area.
A penalty is awarded to your team in soccer when the opposing team player fouls your team player inside your goalie box
When a defender commits a direct free kick offense within their own penalty area.
A penalty is awarded in soccer for a handball in the box or bringing a player down in the box.
For deliberate handling, a direct free kick is awarded to the opposing team.
A penalty is a specific type of free kick given when a defender commits a direct free kick offense within their own penalty area.
If it was deliberately handled, then a direct free kick is awarded to the opposing team at the location of the infraction. If it happened in the penalty area, then a penalty kick would be awarded.
A penalty kick is awarded for an infraction within the penalty area. When the kick is laid up the goalkeeper is not allowed to leave his/her line before the ball has been kicked.
Celtic - more penalties awarded than any team in world soccer
A penalty kick is awarded when a defender commits a direct free kick offense, against an attacker, within his own penalty area, and during active play. The penalty kicker places the ball on the penalty mark, 12 yards from the goal, and gets a one-on-one kick against the opposing goal keeper. All other players must be outside of the penalty area, 10 yards from the ball, and behind the ball at the taking of the kick.
When a player commits a foul in his own penalty area (the one surrounding the goal that he is protecting), such as pushing an opponent, a penalty kick is awarded to the attacking team, unless advantage is played. In some places, very young players do not use penalty kicks, such as U-8 games in the United States, and sometimes all free kicks are indirect.
A penalty kick for the attackers, a direct free kick for the defenders, or an indirect free kick for either side.