Advice for workout beginner.

Emilina
I want to lose 40 pounds before I start trying to get pregnant. What are some easy tips to starting to working out or eating right? 
I've tried to eat right and work out but I don't get on a routine. 
I'll take any advice that you can give! 
Thanks ahead of time!