5k and obstacle course

I've been planning to do a mud run in a couple months (I'd be 15 weeks) and an inflatable 5k obstacle course in June (id be 20 weeks).  I have been working out and weight lifting for the past year and a half. I'm not worried about running, it's the mud and obstacles. Am I going to have to be out for both of these now?