You must have off-road parking to charge an electric car at home.
For a shared space you will need to refer to the property owner. For Flats and Apartments see this page.
To charge an electric car at home (UK) you will need to buy a charger. The only time you should use a 3 pin mains plug is whilst waiting for your charger to be installed.
Can I get a car charging point at home?
There is a large range of chargers available.
Government grant for charger installation