it's free, don't go to any site where you have to pay. Look for the correct government department on line, official one, and go from there is you need one. So many people have been caught out paying for it, i think it was highlighted on watchdog?
You can apply for the card free of charge on the official EHIC website (www.ehic.org.uk). Other unofficial websites may charge you if you apply through them.