Imma answer fr fr (I'm joking)
For confidence, a Sun Square is really good, and the power of the Sowilo rune can also help greatly. Specific information about the Sun Square can be found on the JoyOfSatan website.
As for the rune, you can try a 40-day working, vibrating the rune a few times with an affirmation. I'd suggest a multiple of 6, but I'm not sure on this last bit of info, so any members experienced with rune workings should correct me.
In general, any energy related to the Sun can boost your confidence, so you can also work with golden energy, visualize and feel golden energy course through your body and program it with an affirmation for confidence.
As a rule of thumb, no ritual nor Square alone can make you confident or happy by itself out of thin air. These tools are meant to accelerate our progress and help us advance spiritually, so if you aren't, you should focus on that first, and as you'll progress in your journey, you'll find yourself growing more confident and happier. If you feel unhappy or lack confidence, find out why that is so, look within yourself and find out what exactly makes you unhappy, or what causes you to doubt yourself. Taking action to solve these issues can, by themselves, be a great boost to your overall state of being. Combine that with a Square or a ritual, and you will see good results.
Hope this helps, and have a nice day.