24 weeks...baby movement

Pauleth
Im 24 weeks and i have had these bad headachs.. I went to the dr and they just gave me some pills i hope they work. Because i cant sleep at night. But right now i havent really felt me baby move as much as other days.. Should i worry ? Because my baby is always active, & i havent felt her move really.. ??? Should i wait