You down load the medical certificate FORM from the Thai consulate in London's website under the requirements for the Non-Immgrant Type O-A visa here;
***********************************************************************************
*****
**********
-Non-Immigrant-visas.html#7
You take it to a doctor in the UK and you get it signed.
Sorry but this is NOT a visa question :/