When you lie down, the blood pooled in the leg veins re-enters your bloodstream. The increased amount of blood returns to the heart. Your heart is unable to keep up with it and the fluid builds up inside your lungs causing shortness of breath. To improve this situation, try to lie down in a more upright position with the support of pillows, and consult your doctor for optimization of your drug doses.