It is in Allah’s Hand whether he gives children or not. There is no control of any aamil or jinn or Satan. Allah gives whom He likes and deprives those whom he wills. Hold this belief firmly and recite and blow Surah Al-Faalq, Surah Al-Naas and Surah Tariq in order to save yourself from bad dreams. However, if you see any bad dream then spit thrice on left side and recite أعوذ باللہ من الشیطان الرجیم. In-sha-Allah, you shall be protected.
Allah (Subhana Wa Ta’ala) knows Best
Darul Uloom Deoband