i would like to know if the IPA (Phonetics) has anything to do with spelling, such as Plan --> Planning, or a car/ an apple?
IPA is not phonetics.
Phonetics is a branch of linguistics that deals with the sounds in a language.
IPA is the International Phonetics Association that has invented a system of symbols for different sounds. The system is also sometimes called IPA.