The best thing to do, to keep these feelings away, is keeping yourself busy, and there are number of ways to do so. You can join a sports club, a library (if you are a book lover), some hobby club, a gym, etc. Keep yourself engaged, and don't let the home thoughts clot your mind.