Should I drop out of a class?

It’s AP Computer Science. I hope to major in nursing but before I wanted to major in computer science but after taking the ap computer science for a term, I feel like this is not the right thing for me. My school offers 21 AP Classes.