Learn Something New to deal with homesickness
Learning is a way of engaging yourself in an acitivity. It is one of the best ways to get over homesickness. Absent mindedness is common in those with homesickness. Studying a topic or learning every day will keep your mind active. You can start to learn new language, how to cook your host nations favorite dishes, learn yoga, martial arts and so on.
The more you can relate this learning activity to your host country, the more you get attached to your host country. You could feel and you have started to immerse yourself in this new culture.