From the perspective of practical science, when the head of the bed is facing the window, you will sleep in the bed and be awakened by the light outside the window (whether it is the sunshine after dawn, the outdoor light and moonlight at night, and the light of thunderstorm and lightning, many curtains can't cover this strong light), which will make people uneasy.
From the perspective of geomantic omen, the head of the bed is facing the window, which makes people's yang leak out, which is very bad for personal experience, such as anxiety, irritability, even insomnia and weakness.
Solution:
If there is other lighting in the room, you can use double curtains to deal with it. If there is only this light source in the bedroom, you can choose to adjust the bed, and the horizontal center line of the bed should not face the window. As long as the bed leans against the window, the curtains will be dark. In terms of geomantic omen, special geomantic items such as five emperors' money specially prepared by people who know geomantic omen can be placed at the bedside, and some plants can be added outside the window to improve the landscape position of the window sill.