What goes into buying a foreclosure?

I’ve found all the legal mumbo-jumbo but can anyone give me a real life account of the steps you went through to buy one? How long did it take? Does it go through an agent? Is it all that different than buying a house the conventional way? Stuff like that…