Based on details you seem to suffer from postural headache
secondary to orthostatic hypotension
( headache more on standing and less on lying)
Precipitating factors in your case is recent hip surgery
(hip surgery produce blood loss and hypotension).
You require neurological assesment , blood pressure monitoring .and hemoglobin checked.
Consult family physician/neurologist
for further management