As folks have said, your first error is the pre-flop raise. You're inviting a multi-way pot with 3xBB raise when you already have two limpers in front.
Think about it. Let's say you're playing 1/2 for the sake of easy math.
SB + BB + BB + BB = $7.
You raise $6. Pot is now $13.
That means blinds and limpers only have to call $4 to see $13. Remember: The first limper ALREADY CALLED $2 to see $3 (which is why open limping is really not mathematically a great move). You're actually giving the first limper better odds
! In fact you're giving them perfect odds to really see the flop with just about any two cards unless you likely have a big pocket pair in this spot. Even if you possibly have a big pair in this spot the odds aren't far off and the implied odds justify the call. There's no sensible fold here.
Now, let's say you raise $12. Pot is now $19.
Now the blinds and limpers have to call $10 to see $19. This is still better than $2 to see $3. However, they now have to look at there cards and think: am I likely close to 50/50 odds right now, and do my implied odds and reverse implied odds justify this call out of position? Theoretically, if there hand was good enough to limp it should be good enough to call or re-raise here. But, let's be honest, chances are it's not.
Anyway, let's say you find yourself multi-way in position with A-Paint and you miss the flop. Now you have to evaluate the board. Are the cards connecting? Are their flush draws out there? People at low stakes usually limp: suited connectors, A-Rag, low pocket pairs. Except the blinds, they could really have ANYTHING. Here, we have a dilemma. If everyone checks to you since you raised and you check back - if you miss you're looking for a fold on the turn. If you hit, it's going to be hard to get money out of worse hands and easy to lose money to a 2-pair kind of holding. If you bet, you're going to be getting called by big draws, draws with overs, draws with pairs, top pair or better, and possibly weak draws and sometimes middle or bottom pair. Damned if you do, damned if you don't.
The real answer is don't get yourself into this situation. The only other option is to look for a bluff. If you don't feel you can reasonably pull one off or that it doesn't really benefit you for your meta-game, then the answer is this: you made a mistake - fold and move on.