Some medications may have visual side effects, but floaters and flashes are not commonly associated with medication. If experiencing visual disturbances, consult with a healthcare provider.