In the UK, your basic healthcare will be covered by the National Health Service (NHS) on the basis of being 'ordinarily resident.'  'Ordinarily resident' means, broadly speaking, living in the UK on a lawful and properly settled basis for the time being.  If you meet this requirement you should register with a doctor soon after moving to the UK.  Your health centre will then assign a local doctor to you, often referred to as a GP (General Practitioner).  We suggest you bring any medicines you need with you for the first month to give you time to register with a doctor.

You will not be asked to pay for general consultations at a GP practice or at any hospital, however, you will need to pay for part or all of the cost of prescription medicines. Some, but not all, dental and eye treatments will need to be paid for by the patient. Please refer to the NHS dental service and optician service pages for more information. 

The NHS website provides further information on the services available if you are Moving to England or Visiting England.