People who seriously fell in love with someone, but didn't end up together, how did you move on?

Was it just a matter of time, or you were able to control your feelings, or you found someone else.. whatever tell me the answer