HELP NEEDED FOR PRIME RIB

Help…need a fool-proof cooking method for Prime Rib. We had a beautiful 19# Roast and over-cooked it. Was still very good but the medium rare…well :cry: Thanks in advance for suggestions.