loads of drugs can cause weight gain or water retention.
talk to the doctor or pharmacist about it... maybe there are alternatives if you are on something that does cause gain.
(some drugs include some anti-depressants, antihistamines (hayfever tabs), and steroids like prednisolone.)
whatever happens, health first!