Help - Do I take the job???

I just got an offer for a position in the town I live in. I need to give them an answer in one week. I have an interview next week on Wednesday, that is flying me out of state. I probably won't find out if I get that job until later next week or beginning of November. How do I know what to do? I don't want to cancel the interview for next week since they already bought my plane ticket and made travel arrangements for me, and I really want to see if I like the city I would potentially be living in and if it would be a firm I would enjoy working at. At the same time, I don't want to just decline the place that just offered me the position because what if I don't get an offer at the second place? Have any of you ever had this same problem??? I don't know what to do.