@Olga6,
Never. It's never a good idea to give up on love in general. What are you left with? Hatred? Indifference?
If the question is about a specific relationship, same answer: you never reach certainty in life, it's always a bet to get with someone, and a bet to get out.