When is it time?

How do you know when it's time to walk away from your SO?  How do you know if you're still in love or if your just comfortable? Please help