I am traveling to Vienna within a week and i just found out that i have to go to Frankfurt and paris,?

any idea what would be the cheapest way to travel from Vienna to Frankfurt and from there to paris and back to vienna????
please let me know