Eleanor, your psych doc is the best one to contact if you are having side affects from your meds. It sounds like doing that as soon as possible could help you avoid sleep deprivation.
If you find reading about meds helpful there are some blogs and posts about Citalopram that might be of interest.
Psych Central - Search results for Citalopram and nightmares