Workgroup - network

When I try to get on my shared folder on my xp pc - (with my vista pc)
I can’t se the pc. But when I turn of the firewall then it’s possible…
How can I solve this?

Thanks