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.
Chat with our AI personalities
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.