Some medications can lead to fluid retention and swelling as a side effect. These include certain antihypertensives, corticosteroids, and nonsteroidal anti-inflammatory drugs (NSAIDs). Women experiencing swollen ankles after starting a new medication should consult their healthcare provider to discuss alternative options or strategies to mitigate the side effects.