Solution:
(1) It is better to adjust the position of the bed or seal the window. But pay special attention to window sealing. If this window is the only window in the room, it should not be sealed, but should be replaced with thick curtains.
(2) Hang a gourd or five emperors/six emperors/ten emperors behind the bed.