Hello I read that Vega is getting closer to earth.
I would like to learn how to calculate its displacement and calculate the galactic coordinates that it will have next year or in 1000 years.
Knowing that it will not be accurate or true ^^
Vega is moving towards the solar system at 14 km/s (and over the period of a thousand years, that value isn't going to change much)
So in 1000 years it will move 14 * "seconds in a year" * 1000 = 441000000000km. That is about 0.046 light years. That is less than the uncertainty in its distance now (0.07 light years) So to the limited accuracy that we know distance, it will still be 25 light years away in 1000 years.
"Galactic coordinates" (almost certainly) doesn't mean what you think it to mean. It is a system of describing the direct of a star from Earth, using the milky way as a reference line (galactic coordinates are not 3d coordinates within the galaxy). Galactic cartesian coordinates are 3D, but are also based on the Sun at the centre. But I suspect you want to find the coordinates in a system centred at the middle of the galaxy.
Vega also has proper motion (it isn't moving directly towards the sun) In 1000 years it could move about 300 arcseconds. For comparison, the moon is about 1800 arcseconds across. The proper motion is a consequence of its transverse velocity (and distance). Transverse velocity the components of velocity perpendicular to the ray from the sun to Vega.