The best thing you can do for a stallion that is not a stud and won't be one is geld him.
No point in having a frustrated and stressed horse who can't fulfill its urges. It's not really fair.
Otherwise, always watch your back. A stallion is genetically in charge of a heard and there's very few you can trust.
We have 4 stallions and everything goes very smooth. You have to take care of their stable management, respect their character and personality. They all go out on the pasture and can stand near each other. Problems only start when there's a mare nearby :) but when they are by themselves it's no problem. It can also depend on the breeding, mine are Pura Raza Española and their temperament is different than for example a Hannover stallion. But I guess everything starts with education and training :)
A friend of my dad has stud that lives right at her lesson barn. He has a slightly larger stall and a pasture all to himself, but he can still interact with the other horses over the fence and what not. It really comes down to training. Designate areas for stud stuff and not stud stuff. Like any other horse, he still needs to know boundaries.
Managing a stallion during breeding season is especially important, being 2 people present, in case of an emergency
You should take advatage of his gut instinct ! :) And also an important point, learn him to wait !
First of all, you have to earn his trust and respect, a stallion can be usually really upset, so he has to trust and believe in you to stay calm. Ride him, talk to him, or whatever he needs to earn your trust :) You have to communicate a lot with him !