Sleep training tips

My LO just turned 5 months I’m trying to get him to start self soothing his doc said start at 4months but I waited until 5 months when I put him down in his crib he cries non stop idk what to do or how long to let him cry but I feel like caving and going to get him. Help !!