Typically, it takes three days to acclimate to high altitudes and if you don't start to acclimate you need to leave for lower elevation and not wait.
As has been stated altitude sickness can affect either the head as Cranial Edema - the headache, the lung as Pulmonary Edema - coughing up...