I don't eat a lot, but I have to lose 10 pounds.How long will it take? does walking work?

sometimes i eat when im bored.I better stop that