Don't get in a hurry to buy a house. If you have student loans or other debts, work on paying those off first. Then save up so you can make a sizeable down payment on the house. Remember, you can get much better rates on shorter term loans. The more you can put down, the better off you will be. No payment should be more than 25% of your take-home pay.
Don't buy into the hype that it's better to buy a house since the interest the loan accrues is tax deductible. It does not make sense to spend $10,000 in interest just to get that $2,000 tax break. You'd be a whole lot better off saving some big bucks for 3 or 4 years while renting and then looking for a house.
A house is a money sucker. These are "fees" that don't get added in to the cost of a house. Repairs, maintenance and improvements can and will put a huge dent in your budget. There are things you will need to buy in order to do these things, like a lawn mower, tools, furniture, etc. If you intend to keep a decent looking lawn, then things like fertilizer, seed, and any equipment rental (aerators, etc) will run quite a bit per year. Utilities will also be much higher than in any apartment.