Refers to a physical barrier, such as a garden fence, chain-link fence, or safety fence. Used in the same broad way as English 'fence'.
庭に木のフェンスを立てた。
We put up a wooden fence in the garden.
The home run ball went over the fence.
工事現場の周りにフェンスが設置されている。
A fence has been set up around the construction site.
公園のフェンスに沿って歩いた。
I walked along the fence in the park.
We put up a new fence in the yard.
The batted ball hit the fence and bounced back.
塀 is a solid wall (often concrete or stone) enclosing a property, whereas フェンス is usually a see-through structure of wire, chain-link, or bars.
chain-link fence; wire mesh fence
oil fence; oil containment boom
time fence
home run; ball hit over the fence
Loanword from English 'fence', adopted into Japanese with the same meaning.