you click "edit" when viewing OpenStreetMap.

You can read more here:
https://wiki.openstreetmap.org/wiki/ID#How_to_use_it:~:text=External%20links-,How%20to%20use%20it,-You%20can%20use

Welcome to OSM!