I highly recommend the following:
1- Do Wudhu right before you sleep
2- Be on your right side when you are falling asleep
3- Read Sura Falaq and Naas before falling asleep
4- Recite Tasbeehatel Zahra before falling asleep
5- Try not eating at least 3-4 hours before sleeping
6- Read this Dua before sleeping:
آمَنْتُ بِاللَّهِ وَ كَفَرْتُ بِالطَّاغُوتِ، اللَّهُمَّ احْفَظْنِي فِي مَنَامِي وَ فِي يَقَظَتِي
7- Read this Dua as well:
أعوذ بما عاذت به ملائكةُ الله المقربون وأنبياءُ الله المرسلون وعبادُ الله الصالحون من شر رؤياي التي رأيت أن تضرني في ديني ودنياي
Then blow to your left side 3 times