If you're asking "What can I do to take advantage of becoming aware of generally held knowledge that interest rates are going up?", the answer is "not much"; that knowledge is already priced in. This would mean that fixed-rate mortgages are being priced at a premium compared to current interest rates (that is, the rate will reflect anticipated future rates in addition to current ones), so you will be paying higher than market interest rate in the immediate future in exchange for the right to continue paying that rate further down the road, when that rate becomes below market rate. So if you refinance before you get to that point, you will have paid for something you're not using. So that would be something to consider when deciding whether to get a fixed or variable rate mortgage.
If you think that you somehow have some special knowledge of interest rates going up that the market in general doesn't have, then the way to take advantage of that is to find derivatives that are anti-correlated with bond prices. If you have any bonds, you should sell them. As far as your house purchase is concerned, lock in a low interest rate with a fixed-rate mortgage. Or don't buy a house at all; higher interest rates will increase monthly payments, which will make people less able to afford mortgages, which will drive down house prices.
Just to emphasize, the preceding paragraph is an "if then statement"; it is what would be beneficial if you did have this knowledge. It's not a statement about what you actually should do.