I'm sorry you are going through this
As others said above, you can't forget. You can move on but it is a process and there is no specific time frame on it. Allow yourself to feel everything, to be there with the pain and loss. But at a certain point you have to ensure that you aren't dwelling too much on the pain.
The best thing that helped me was talking to my friends and dating. You will find what works for you.