I need to lose weight: help.

I am the heaviest I have ever been. I'm at 178 and can't believe I have let myself get to that.. I'm in the gym 3 days a week.. And my husband and I go hiking a lot. But I don't eat clean and I'm pretty sure that's my problem.. Anyone have tips on what I can do to lose some body fat!?