We started w/ pet llamas and a small pasture, so we put up 5' chain link.
Held the llamas in fine.
Then we got goats. HAH...they bend it at the bottom and go right through.
We put hot wire up at the bottom to keep them from doing that. They can't rush going under, so they got enough of a zap to teach them. We use Creampuff, the escape ringleader, to test it periodically, just so she doesn't forget.
One really tenacious buck, who we jokingly said "Flossed his teeth on barbwire and used hot wire to scratch his butt", kept bending the 5" fence over by jumping up on it and leaning, until his bulk / wet ground combined and bent the posts enough for him to go over to the does.
Now the buck pen, the ENTIRE buck pen, is lined w/ 4' cattle panels. They don't 'give'. 350$ well spent to prevent any more accidental breedings.
A word of caution on the ram lamb....get him banded / nuetered.
Rams are evil buggers, it seems the tamer you make them as babies, the meaner they can be as adults. No 'healthy' respect / fear of humans.
Mine (a big fat bottle raised Rambouillet) knocked me across the barn many times, and he was my BABY as a youngster.
I have one 8 yr old Hamp cross ewe I rescued as a baby left (my first farm animal), but once she goes, I'm done w/ sheep. Shearing is a pain.
Good luck and have fun w/ them.