Emergency contraception is illegal in some countries and for some circumstances (for example, outside the context of rape). Often the drugs are available in pharmacies. In some countries, the affected person needs to talk to a healthcare professional (a doctor or a pharmacist). After this counseling, the drugs can be obtained.