There is no one answer that will work for everyone in this situation. However, some things that may help include talking to a trusted friend or family member about your feelings, spending time doing things that make you happy, and keeping yourself busy. Additionally, it may be helpful to remind yourself that the person is not worth your time and energy if they are no longer interested in you.