If there were a single "best way", we'd all be using it.

Get a brush, and a cream or soap. Learn to make lather. Shave immediately after a hot shower.

If lather doesn't soften your beard...