1. Is everything what it's supposed to be? Does your derailleur match your cassette? Does your shifter have the same number of clicks as you have gears? Has your derailleur hanger alignment been checked?
2. Park tool is your friend. Pull up the instructions for setting up a rear derailleur. Disconnect your shift cable and start at the very beginning with the high limit screw adjustment. Do the steps in order.