If a player is shooting on the opposing team's goal and scores and is fouled during the process:
Does the goal count? ie the penalty can be declined or
Does the goal count and there is a subsequent free kick or
Is there no goal and a free kick?
Any clarification would be appreciated.