The use of dynamics is probably both the easiest, and the hardest element to implement to make your solos exciting. Using dynamics is basically just changing the volume you play at throughout your solo. If you play at the same volume all the time, it will eventually be boring. To Remember to change the volume while you play, you really have to be mindful. What you can do is use cues in the music to remind yourself for example, if you change the volume, every time there is a chord change, you will automatically introduce dynamics in the music. You can also change the volume within the riff to highlight certain points.
Players sometimes forget to use dynamics simply because it's such a simple concept. However, if you do, you really lose a powerful tool