The European Space Agency (ESA) has a mission called Hera, which will launch in Sep'24 to visit asteroid Dimorphos to see what options we might have open to us if we had an asteroid threat
DART, a small spacecraft with an autonomous navigation system, will head to a pair of asteroids called the Didymos binary, which orbits the sun and occasionally comes close to Earth - though these asteroids aren't in danger of actually impacting us.
This will show whether such a dramatic action as sending a craft to crash with an asteroid could be effective in knocking it off course if it were heading for Earth.
Hera will head to the same location to see what happened to the asteroid after DART struck it and whether the wacky-sounding plan actually worked to shift the asteroid's orbit.