So is working out at home better than the gym?

I want to work out at the gym but my boyfriend says it cost too much and it'll be better doing it at home. My BMI is 41.2 and I don't know where I should be to TTC. I think my weight does have a impact on me. What are ways to start at least? I'm dying for details.