It can be removed with surgery, but its not advised, risk is far greater than reward.
Some ophthalmologist can use laser
to treat it, again, most wouldn't. There are no medicines or exercises that can get rid of floaters
either. Eventually it will dissolve or move out of the way, but it may take a long time.