No, you may already be litigating your dispute in which case your lawyer can be very helpful in the mediation process. However, if you are in a dispute and no one is litigating then you can attend a mediation without a lawyer.
If the other side is legally represented and will be attending with their lawyer then you may want to consider having someone with you.