There is no specific way for someone to get over loving someone. We all have different process on how to getting over a loved one and we also have different ways to cope up with this step.
This advice is based on my own personal experience, but I successfully got over loving someone when I stopped communicating with that person, deleted all the pictures or memories which can only make me remember all the good times we had shared, went out with friends, talked to my friends whenever I feel down, and learned something I had not tried before. When I was trying to get over loving someone, I focused myself on baking. I got busy and it helped me completely forget about that person.