Leaving or sticking it out

When do you know its time to leave a man you’re in love with? and when to stick it out..