The best way to get there from Krakow is to take any bus that goes to the city o Zakopane.
Buses departure every more or less 20 minutes from Regional Bus Station in Krakow (Bosacka street), which is located just behind Main Train Station.
The trip takes between 2,5 and 3 hours depending on traffic jam.
In the center of Zakopane there are plenty of little buses taking travelers to the places where particular mountain trails start.
My two favourites are:
1. Trail to Morskie Oko lake
2. Trail to Kasprowy Wierch pick
There are many other trails to explore and the mountains are definitely worth to visit many times.
1. views from Kasprowy Wierch pick
2. Views from the trail to Morskie Oko lake: