According to your description, it can be some problem coming out in your retina. It is advised that you should go to the hospital to have your retina and the whole eyes examined. The doctor will prescribe correspondent treatment for you according to your exact condition. And you should pay attention not to overuse your eyes, and when you have to work for continuous 6 to 8 hours, you should take a break of half an hour to let your eyes have a rest. Regularly do some eye exercises. Apply some eye drops to relieve the fatigue in your eyes. Do not drink or smoke. You should eat more vegetables and fruits as well as some dairy products, eggs, cod-liver oil, and so on.
Well, first, I have to tell you that what you have got is floaters. And it can be fine, so there is no need to worry about it. First, you should know that floaters are little "cobwebs" or specks that float about in the field of vision. In common, they are small, dark, shadowy shapes that can look like squiggly lines. And sometimes, eye floaters can be annoying for many people. So there are some ways you can have a try to remove them. For example, you can just have more water to drink, in that way, it will just be good for eye floaters. Also, having some oils, like rose oil can be beneficial too. By the way, if you still feel uncomfortable, I will suggest you go and see the eye doctor, and he can just give some advices.