A mushroom photograph needs three things to work: focus where you meant it, a background that does not compete, and light that shows texture. Almost every question that comes up in a first season is a variation on one of those three.
So the answers below are organised as the questions themselves, with the short version first and the reason after it.
Do I need a macro lens to start?
No, but you need to know what your lens can do. Set it to its closest focus distance, point it at a ruler, and see how much of the frame a two-centimetre object fills. Many kit zooms get close enough at their widest setting; the trick is that they focus nearest at one end of the zoom range and not the other.
If you cannot fill a quarter of the frame with a small cap, extension tubes are the cheapest fix, and a clip-on close-up lens works for a season while you decide whether this hobby is staying.
Why is my focus always in the wrong place?
At close range the plane of focus is a couple of millimetres deep, so autofocus picks whatever has the most contrast — usually a bright leaf in front of the mushroom. Switch to manual focus, magnify the live view, and move the camera rather than the focus ring. Rocking forward and back by a centimetre is far more precise than turning a ring at 1:1.
Pick your point deliberately, too. On a cap profile it is the leading edge; on a top-down shot it is the centre of the gills.
How do I stop the background turning into a mess?
Get closer, get lower, and change your position rather than the mushroom. A background five centimetres behind the subject will show every twig; the same background a metre back becomes a smooth colour. Walk around the cluster until a dark mass or an even patch of moss sits behind the cap, then check the four corners of the frame before pressing the shutter.
If the litter is genuinely ugly, a piece of dark card held out of shot behind the subject is not cheating, it is set dressing.
Should I pick or move mushrooms to photograph them?
Photograph them where they are whenever you can. Picking severs the fruiting body from the mycelium, and on many sites it is against the rules. If you need a different angle, move your body; if a leaf is in the way, move the leaf and put it back afterwards.
Do not eat anything you have identified from a photograph or an app. Identification for the table needs an experienced person and a real specimen, and mistakes with fungi can be dangerous. Treat touching as a hygiene question too: wash your hands afterwards, and keep small children and dogs from mouthing caps.
Why do my shots look flat?
Flat usually means the light was even in every direction and nothing in the frame had a light side and a dark side. Fix it by finding a subject at the edge of a shadow, by shading one side of the cap with your hand, or by shooting into the light so the cap glows and the background darkens.
If the light will not cooperate, change the subject: a backlit gill edge or a wet cap catching a single bright patch will carry an image that a fully lit, evenly grey scene cannot.
Every one of these answers points the same way — closer, lower, and more deliberate about what sits behind the subject. The gear question sorts itself out after that.