Reivindicaciones
1. A method for obtaining a stabilized in a polar media halide perovskite characterized in that it comprises the following steps: a) preparing a solution of isopropanol with CTAB with a concentration of between 1 mM and 10 mM; b) adding a halide perovskite nanocrystal solution in a non-polar solvent on the solution obtained in step (a), wherein the perovskite has a general formula of ABX<3> wherein A and B are cations and X is Cl, Br, I or any combination thereof, with a nanometric morphology with a diameter ranging between 2 nm and 140 nm, preferably between 10 nm and 40 nm, as determined by direct measurement in Transmission Electron Microscopy (TEM); c) centrifuging the mixture obtained in step (b) at a speed of at least 300 g, preferably between 300 g and 800 g, for a time of between 3 and 6 min; d) removing the supernatant of the centrifugated mixture obtained in step (c); a) redispersing the centrifugated mixture without remanent obtained in step (d) in an organic polar solvent, preferably selected from isopropanol and ethanol, acetic acid, dimethylsulfoxide (DMSO) and any combination thereof, more preferably isopropanol. 2. Method according to claim 1, wherein the A cation of the perovskite is selected from methylammonium (MA), formamidinium (FA), caesium (Cs) and any combination thereof. 3. Method according to any claims 1 or 2, wherein the B cation of the perovskite is selected from lead (Pb), tin (Sn), potassium (K), germanium (Ge) and any combination thereof. 4. Method according to any claims 1 to 3, wherein the A cation is Cs and B cation is Pb and X anion is Br, Cl or I, more preferably X anion is Br. 5. Method according to any claims 1 to 4, wherein the apolar solvent is selected from hexane, benzene, toluene, 1,4-dioxane, chloroform, diethyl ether, dichloromethane. 6. Method according to any claims 1 to 5, wherein the centrifugation speed is at least 300 g, preferably between 300 g and 800 g 7. Method according to any claims 1 to 6, wherein the supernatant is removed using a method selected from decantation, pipetting and filtration. 8. Method according to any claims 1 to 7, wherein further comprises a step of mixing the redispersed mixture obtained in the step (e) with plasmonic metal nanoparticles, wherein the metal is selected from silver, copper, aluminum and gold. 9. Method according to claim 8, wherein the spherical plasmonic metal nanoparticle has a passivation in its surface, preferably the passivation is a functionalization by covalent bond between surface of the metallic nanoparticle and thiolated polyethylene glycol (PEG-S-). 10. A stabilized in a polar medium perovskite characterized in that it comprises a perovskite nanocrystal with general formula ABX<3> wherein A and B are cations, and X is Cl, Br, I or any combination thereof, with a diameter size of between 2 nm and 140 nm, preferably between 10 nm and 40 nm, encapsulated in a CTAB micelle more preferably 1,5 nm and 2 nm thick dispersed in a polar solvent selected from isopropanol and ethanol, and wherein the weight% of perovskite in relation to the CTAB is between 5% and 15%. 11. The perovskite according to claim 10, wherein the B cation of the perovskite is selected from lead (Pb), tin (Sn), potassium (K), germanium (Ge) and any combination thereof. 12. The perovskite according to any of claims 10 to 11; wherein the A cation of the perovskite is selected from methylammonium (MA), formamidinium (FA), caesium (Cs) and any combination thereof 13. The perovskite according to any of claims 10 to 12, wherein the A cation is Cs and B cation is Pb and X anion is Br. 14. The perovskite according to any of claims 10 to 13, wherein the perovskite nanocrystal further comprises plasmonic metal nanoparticles homogeneously dispersed within the perovskite, wherein the metal is selected from silver, copper, aluminum, wherein the metal is selected from silver and gold and preferably metal nanoparticle has a passivation in its surface, preferably the passivation is a functionalization by covalent bond between surface of the metallic nanoparticle and thiolated polyethylene glycol (PEG-S-). 15. Use of the stabilized in a polar medium perovskite according to any of claims 10 to 13 or stabilized in a polar medium perovskite with plasmonic nanoparticles according to claim 14 as main active layer in optoelectronic devices, preferably next-generation light-emitting devices for luminaires, displays, lasers, solar cells, photodetectors, light-emitting diodes (LEDs), optical sensors, and advanced photonic applications such as integrated photonic circuits, optical communication systems, and light-based computing technologies.