To get a black and white photo I use two variants. Sometimes I take a frame in black and white, sometimes I shoot in color then convert the image. What is most important, from my point of view, is to shoot in RAW format. This format allows you to record more information, which helps when we want to convert images.
Today I have some black and white photos obtained by converting some color photos into black and white photos.