Try to fill your hours with so many things that you don't have TIME to be homesick. Explore the city; see the sights; find new things; meet people! Find some unique, quirky things to do there and enjoy yourself. The more time you have doing nothing, the more time you'll have to be miserable.
Hope this helps. And I hope it gets better soon! *hugs*