is it healthy ?

it’s it bad to get into a relationship with somebody that has a ex that they went with for a long time ?