I am due to have surgery and will need to take sick leave – how can I tell a prospective employer

I am due to have surgery and will need to take sick leave – how can I tell a prospective employer