How Do I lerp a game object from positionA to positionB

I’ve set two vector3 variables as positionA and positionB, how would i lerp from position A to positionB when a button is pressed and back if it is not?

see how lerp is applied.

also search first before asking