Divorce is actually one of the worst thing that could happen to a child. Unfortunately there is nothing you can do about that. Your parents are adults and the reason why they got divorce is basically because they were not happy with each other. One thing you can do is you can ask your parents why they got divorce, maybe this will re-assure you that they are happy even though they are not together.
You stay with your dad, and you feel lonely because maybe you miss you mum. Its a new thing for you.
I suggest you dont let this divorce affect your life, how about you go for a bit of holiday at your mum. Dont stay at home, this loneliness kills, go out with friends, do extra curriculum activities, help the society or do sports, make friends. There are soo many thing that you can do for not being alone..
You can talk to your dad or mum, tells them how your feeling, your missing a family enviroment. But just dont stay indoor, go out..
Hope this helps