Do not play too many notes.
If something sounds good, play it again.
Play the melody thru once as a starter.
Record your efforts.
Echo the previous soloist as a starter.
Play in front of people as much as you can.
If you make a mistake, repeat that and use it.