Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
For this you need to add keyword local at the end of authentication command:
aaa authentication login default group tacacs+ local
This will help you login in case tacacs fails provide you have the local databse configured, here is a link for creating local database on a cisco device: