Most firms have a clear procedure on what to do if you are sick. If in doubt, the best thing to do is to telephone as soon as possible (or ask someone else to do it for you) to explain why you will not be in and let them know when you hope to get back to work.