Have a clear mind before doing any workings of any form. You need patience and practice. Clear your thoughts through meditation. You may need to do it at least once a day for several weeks before you can slip into that state of mind.
The first question is what type of spells/rituals you are attempting to do?
Another thing to note is that these things take time, practice, and a certain amount of patience. If you are new to Magick, then the best thing to do is study and gain an understanding of how Magick works before attempting anything like spells/rituals. I recommend checking out the pinned posts in General Info: The Basics and Starting Out. Take it from there.
Perhaps you're jumping too far a bit, baby steps. I alright to make mistakes along the way, you're only learning.
But remember somethings aren't meant to be revealed yet, or you just haven't realised it. You must be patient with magic.