How do I keep constant velocity on my rigidbody?

I already looked over all the other answers but nothing helped me. I just don’t know how to keep constant velocity in 2d while still moving in the same direction.

Set the rigidbody’s velocity in every FixedUpdate.