You’re allowed to be ill!

If you disclosed it during the recruitment process (was there a health form to fill in?) and you’ve been open and honest about it, they should have automatically had a conversation with you about making any reasonable adjustments before you started in role. Have you had an Occ Health referral? It’s absolutely not ok to say to an employee who’s off sick that they’re costing the company money and being unfair!