If this was your A race and you're not planning on doing any more tris this summer, I would suggest 2 weeks off and then return to activity, but cross train. Do something totally different. Learn how to kayak whatever. I think it's really important to have at least on really casual month after an IM and better to have 2.

If you're racing more this season, you need to still take about 2 weeks off. Then start back slowly, with something like riding in zone 1 to 2 to test out how your body feels. Although you may feel stir crazy right now, you may feel really wiped out once you try to do something.

Take it easy.

Great finish BTW.