Flashes will go away eventually after a month. Sometimes it will remain there for several months and then disappear by itself. While floaters won't disppear completely, but it will become smaller and less noticeable gradually which won't affect your vision.
Flashes will disappear completely by itself after several months, while floaters will never go away completely. If the floaters won't affect your vision, you'd better not to focus on them, then they will not trouble you. If they're obstructing your vision, you should talk to your doctor about your problem.