Slightly different experience (was bleeding very heavily while pregnant, later had D&C and massive blood transfusion). If I were you, I would ask doctor to check your hemoglobin and hematocrit. You may be losing enough blood that you’re becoming anemic, which can cause bad headaches. Alternatively, drops in estrogen can cause bad headaches.
Hope you feel better soon.