Sitting in front of a computer 8 hours a day can make it difficult to stay healthy. It is important not to have unhealthy snacks at your desk. If you have candy sitting around your desk, try switching it to fruit. You also want to make sure that you are drinking a lot of water. According to an article from WebMD, you should be drinking at least 10 glasses of water a day. Keeping a full water bottle at your desk is a great way to make sure that you are staying hydrated.