Work for my wife

My wife started her company and I did some marketing research for her. is recommended to get a W2 or 1099. which one you recommend so I can pay social security and medicare taxes?