Start with a 7 stop range subject. The correct exposure is the fastest one that will give you printable detail in the third stop under middle grey, IE just less than black.
Then adjust development time so the whites print with detail being neither blown out or grey.
The rule is expose for the shadows, develope for the highlights. Always was. Always will be.
When theer is a short range subject of say 4/5 stops, user a higher contrast paper. If you have a longer scale subject, develope 15% less and or use a diffusion enlarger or flash the paper.
This is enough to get you started. It can get very sophisticated but this will do for 99.9 percent of every pic you want to do.