Is it possible for me to have a baby if I had surgery on a hernia twice last time with mesh implanted and off birthcontrol for 5 months?

Yes. From a surgery standpoint, having had a hernia repair and mesh in place should not have any effect on your ability to get pregnant. I will defer the birth control issue to an ob/gyn.
Yes. The hernia surgery shouldn't affect your ability to conceive. If you're having trouble, your gynecologist can check to see if there are hormonal or anatomic problems not associated with your surgery. Once you stop taking birth control pills and you start having regular periods, your uterus should be ready for implantation. If you don't want to get pregnant without taking pills, see your ob.