First homebuyers tips

Does anyone have any tips for first homebuyers? Things we should know, consider, look for, etc? Do you prefer having a real estate agent or doing it on your own? Is an agent worth it or make a difference?