If your issue is putting you or others at risk, you need to tell someone. For example, if you're taking certain medications and operating heavy machinery. If your issue is affecting the standard of your work, it may be a good idea to tell your employer so they can support you.