He started a rebound relationship right after his breakup.
rebound relationship
idiomA relationship following a prior long-term relationship, usually short in duration and used to help mend the "broken heart".
She knew it was just a rebound relationship, but she enjoyed the distraction from her recent heartbreak.
Although he sought comfort in a rebound relationship, he soon realized that he had not yet processed the emotional weight of his previous loss.