how to feel less lonely?

whenever i’m on school break, i don’t do anything and then i start missing my boyfriend super badly. i get really sad an down on myself when he isn’t here and it makes me feel really lonely. any ideas on things to do or how to feel less lonely?