You can't always guarantee that you can forget things, but, keeping yourself occupy with activities and things can help.
But always bear in mind that your brain was meant to store such things as memories, whether it be painful or happy. So maybe if you don't try too hard, it might actually lessen the actually things you want to forget about :)