The best way out is through

I'm in an interesting situation. 

In the course I'm doing, I learn many new things. 

Doing these things differently is very uncomfortable. 

But going back is not an option and staying where I am is even more uncomfortable. 

So indeed, the best way out is through.