You can say I could have taken part in this course, but I didn't. I could take part in the course but I'm not going to. Both of these are correct, but the only one that is past tense is the first one.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.