All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad is His slave and Messenger.
It is forbidden to migrate to non-Muslim countries to live there, since such residence brings about and results in many forms of evil and corruption.
So, the inquirer can study medicine in some Muslim country in which there is an advanced college for medicine. If this is not available, then he can travel to Britain or another country to study provided that he believes he can remain steadfast on his faith and religion.
Also, he should be proud of his religion and make sure (Insha Allah) that he will not go after forbidden lusts, although we think that it is difficult for one to live free of misdeeds in such societies.
For more benefit on Muslims living in non-Muslim countries, please refer to Fataawa 81142, 86405, 88291, 377986, 81642, 369667, 81464, 84163 and 89879.
For more benefit on studying in non-Muslim countries, please refer to Fatwa 82091.
Allah knows best.