We use "can" to talk about present abilities and opportunities, while "could" refers to past abilities and opportunities. The negative forms are "cannot" and "can't". When describing an ability or opportunity that resulted in an actual past action, we use "was/were able to" rather than "could". We can use either "was/were able to" or "could" in negative sentences and questions.