You need a visa for Cuba if you have a Nigerian passport
Visa options for Cuba
Visitor visa for Tourism
To visit Cuba for Tourism, travellers can obtain either a Tourist Card or Electronic visitor visa. Travellers should check if their tour operators or airline provide a Tourist Card before travel. If no Tourist Card is provided, travellers must apply for a Tourist Card at their nearest Cuban consulate or apply for an Electronic visitor visa online.