Depending on your country HR is actually your friend and your company are be required by law to protect you against physical and mental issues caused by work. Even non workplace related issues can be handled very well by being open to HR and your boss. I am from the Netherlands, I have manic depressions and have recently started to deal with short burn out periods. On my first job (150-200 employees internationally) I lied about my situation for about half a year. I allowed myself 0 extra rest and had to come clean to HR when I finally collapsed for two weeks. Instead of being fired I was sent to the company doctor and we made a plan so I could get back to work, slowly building up my working hours again (while still being paid in full). I kept communication with HR very open after that and always the one or two days of to rest when I needed it. At my second and third (current) jobs (+/- 15 employees, no HR) I was open about my situation from the start. This allowed me to get in a position where I can be open about my situation with everyone and reach a deal where my contract has about 20 hours and I can work up to 40 hours if I'm able (profit for both parties). I can and do talk with my boss regularly about private issues and don't have the added fear of racking up to many sick days to cause an investigation. If you ask me keeping your mouth shut to your boss and/or HR is the worst thing you can do.