How do you move on from someone you see almost everyday?

So, she's a friend that rejected me (she said she sees us as friends) almost three years ago. After that, it was kinda painful for me because I couldn't see her anymore. We used to work together, but now we're working in the same place again, and I think my feelings for her are present again because I overthink things she does and it's not healthy. She hurt me a lot for a really long time now and I don't want to feel rejected and unworthy every time I see her. 😭 How do I move on from her when we work in the same place?
How do you move on from someone you see almost everyday?
Post Opinion