Sorry to read so many posts about how $50k is unrealistic, but location dictates price. I'm not in a perfect spot, but $80k gets a lot of house where I am. $50k gets a 2 bedroom fixer any day of the year. These markets do exist, folks, not everyone lives on the east or west coast, lol.
There is some solid advice happening in this thread, but also maybe (IMO) some sour grapes. My experience with ownership has been hard at times, sure. But at 44 I OWN my residence and owe less than $30k on a rental property that pays for itself and nets around $100 a month after I put away income tax money.
Here's my advice based on what I have done right and wrong:
DO go with a 30 year. Get that payment so low you can pay it with a quarter to a third of your income per month at most. Make double payments in good times, minimum payments when things are lean. Don't walk into the process with less than 20% down.
Plan on living Spartan for the first few months to a year. NO cable or satellite. Never eat out. Get a water filter and fill bottles from the tap. Get very acquainted with the local WalMart, BigLots and thrift stores, re-use stores, and flea markets. Almost everything should come from these places for a while. Like years.
Learn to learn... Every time a pro like a plumber, electrician, hvac service or the like comes to do work that you can't do yourself; hover, observe, take notes and ask questions. Budget yourself a good 50-100 bucks EVERY MONTH for a couple years to buy tools and maintenance related stuff. If you don't get a big yard get an electric mower, even better a push-reel.
Buy in the late winter or early spring and start on day 1 with winterizing and sealing, insulating and weather stripping. Watch carefully how water moves around the house during rain. Make changes to the foundation grading immediately if water likes to gather around the house.
If you aren't in a rural area, use a bike or walk as much as possible. Look up "life hacks" and other little tricks to pinch pennies. All the little things that save you money are helping you make huge principal payments early on in the loan. If you make minimum payments, you're basically pissing in the ocean trying to create a flood... No kidding the first two or three years of a mortgage goes nearly entirely to interest so making big principal payments early is paramount to paying it off quickly. I paid off my home in 18 years on a 30 year mortgage.
As far as before the purchase goes... There isn't too much to do. Keep a steady flow of cash heading into savings, get a couple of lines of credit opened, paid on time and in full and closed. Walk into the process with a beacon score of 780+ and around 20% down. If you get any gift money over like $1000 at any time, deposit it in a different bank than your normal one. Put the money into your regular savings a little at a time- underwriters get nervous about seeing big deposits leading up to the application. They will want bank statements for a year or longer.
Hope some of this helps. Look, life happens while you're making plans. If nobody did anything until they're "ready", many people would never get anything done. Sometimes you just have to close your eyes, take a breath, and jump. Just be sure to take a good look around before you close your eyes.