How NOT to lose weight and be a vegetarian?

I would like to become a vegetarian but im under weight and Im scare to lose weight. What can i do or eat so I could be healthy and not lose weight while been a vegetarian?