In wireless Communication, the need of radio spectrum increases nowadays. But in the system we are losing approximately 82-86% of spectrum most of the time due to the absence of Primary User (PU). To overcome this issue Cognitive Radio (CR) is an admirable approach. The concept of cooperative communication needs to be considering because high data rate is the demand for wireless services. Cooperative diversity in the network realized by 3-hop Decode, Amplify and Forward (DAF) and Decode and Forward (DF) and in 2-hop DF and Amplify and Forward (AF) Protocols implemented in cognitive radio communication network using Orthogonal Space Time Block Coding (OSTBC). The communication between end points is accomplished by using Multiple Input and Multiple Output (MIMO) antenna arrangement. During the Propagation, Alamouti Space Time Block Coding is used to accomplish spatial diversity and the encoded data is transmitted through Rayleigh fading channel. CR decodes the transmitted signal using Maximum Likelihood (ML) decoding method. Afterward signal broadcast toward the destination. To check the energy level of signal, energy detection technique applies at the Cognitive Controller (CC). Finally, CC will take ultimate decision for the presence of primary user if the energy level of signal is greater than predefined threshold level, it means PU is present otherwise it is absent. The main objective of this thesis is to analyze the performance of 3-hop and 2-hop communication network using relays. The performance is compared on the bases of two parameters i.e. Bit Error Rate (BER) and Probability of Detection (PD). The results are processed and validated by MATLAB simulation.