Obsessive thoughts and actions

Hi, does anyone have a problem with obsessing over certain things? Personally I'm always looking at new mobile phones and swapping and changing, sometimes at a cost that I can't really afford, just because I can't get the thought out of my mind. I know its not important and won't be life changing to get a new device etc but the thought just doesn't leave my mind once it enters. 

If anyone experiences anything similar around this or another topic my question is, how do you manage and suppress those thoughts to be able to get on with your daily life without them taking over? It's affecting my relationships because of the money I'm spending and the time I spend obsessing over the idea. 

Thanks