There are many ways of doing this trip.
Bengaluru (Karnataka) to Ooty (Tamil Nadu) distance is 266 km and you can get there by cab in just over 5 hours and 25 minutes or by train + bus fares starting from ₹ 366.
The weather is amazing right now. You'll have a great time.