If you want to travel to the apartment by public transport you can get the train from Malaga airport to Fuengirola. From there you would have to get a taxi.
The train station is located under terminal 3. You will need to buy a ticket before boarding the train. Trains run every 20 minutes.