Near the Estonian-Russia border. I have heard there is a prohibited border area now and enter permission is need.
Generally speaking, a bus goes there from St. Petersburg. It goes once a day, so it makes sense to spend the night in Pechory town. There is a hotel there, and there is also a hospice house at the monastery itself. Call before.