Just go have sex. That usually helps me for 2 weeks. Rinse and repeat as necessary. Don't deprive yourself. Sex is natural and is nothing to be ashamed of.
If you feel this is a serious problem for you, delete everything that makes you want to or reminds you of sex.
But I suggest you talk with someone who can actually give you good advice on how you're feeling.