As with any language, the answer is simple! The only way to pick up an accent is to listen. Spend at least half an hour a day watching French films, TV shows or Youtube videos. Listen to French songs or French radio shows. As well as getting your ears attuned to the language, you will learn many new words, how to pronounce certain things and also discover many aspects of a different culture!