For example, your partner might be okay with staying friends with exes, while that makes you uncomfortable. Discuss both sides and agree on something that makes you both comfortable.
Creating boundaries can help you find a happy medium between what makes you and your partner feel comfortable. For example, you might agree that being friends with exes is okay, but constantly communicating with them is crossing the line.