The "to go" in your sentence is an infinitive, always use "to" when you turn the verb into a subject, unless you use a gerund. Using "for" to describe an action is a little unusual, it sounds like a sign giving instructions. You can use it with a gerund: For going back, take the same bus on which you arrived.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
acevalloFor go back, Can I take the same bus?No. You can't use this. You need this: