To get signed off work for 6 months there is no special formula or something special you got to do. As you know, a GP or a hospital doctor are the ones that issue fit notes meaning they decide, according to your personal circumstances, how long you should be off work and if the necessity arises they may extend it.