2006? They did not make an Intrepid in 2006.
Check your battery, cables, and connections to start with. Could be a bad battery or a loose connection. Do you have interior lights inside the car? Does the dash etc light up when you turn the key on? If so, can be the starter.
However, to answer your question; if you have a 2.7 engine, yes the starter from another 2.7 would be compatible; 98-04 years.
If you have a 3.5 engine, as long as its a starter from another 3.5 98-04 years, they would also be compatible.