The best thing to do is give them plenty of sun,water and proper planter. I used to have a small tomato plant and when i noticed a problem i gave it water every other day and used miracle grow drops or soil and it will help keep them strong.
Wilting is often the result of insufficient hydration in the leaves. Make sure your tomatoes are watered well. Feed them per the instructions of a commercial supplement.