work up to

to motivate yourself to do something difficult

Examples

I have been working up to going to the dentist, but I am still nervous.